js页面跳转
来源:互联网 发布:矩阵lu分解 编辑:程序博客网 时间:2024/04/29 03:55
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/json2.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery.easyui.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/common/showMessage.js"></script>
<script type="text/javascript">
$(function(){
alert(window.name + "___" + "reload");
$("#test").val("reload!");
});
function go(){
var url = "test2.jsp?testparameter=11";
window.location.href = url;
window.name = "test2.jsp";
}
</script>
</head>
<body>
<input type="text" />
<br>
<input type="text" id="test" name="test"/>
<br><br>
<select>
<option></option>
<option>A:TEST</option>
<option>B:TEST</option>
<option>C:TEST</option>
</select>
<p>
<input type="button" value="goto-test2" onclick="go();"/>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/json2.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery.easyui.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/common/showMessage.js"></script>
<script type="text/javascript">
$(function(){
alert(window.name + "___" + "reload");
});
function goBack(){
window.history.go(-1);
window.name = "test1.jsp";
}
</script>
</head>
<body>
<h1>well!!</h1>
<br>
URLPARAMETER: <%=request.getParameter("testparameter")%><br>
<input type="button" value="goBack" onclick="goBack();"/>
</body>
</html>
- js定时页面跳转
- JS跳转页面
- js常用页面跳转
- web页面跳转 JS
- js跳转页面
- Js跳转页面
- js跳转到页面
- js跳转页面方法
- js跳转页面方法
- js页面跳转整理
- js跳转页面方法
- js跳转页面方法
- js页面跳转
- 学习js 页面跳转
- js页面跳转
- JS页面跳转搜集
- js 实现页面跳转
- js页面跳转代码
- Google Analytics(分析)设置步骤及常见问题
- 深入浅出之正则表达式
- 三峡大坝是否为干旱的原因? 专家说没有证据证明有,个人有点想法。
- Item 51 new和delete的规则
- boost:regex
- js页面跳转
- Perl 把一堆文件 按照 文件名字中的时间 进行排序
- IIS的安装
- WebLogic Server 8,9,10破解补丁下载
- 图片保存到数据库和从数据库读取图片并显示(C#)
- 在程序中调用浏览器查看网页内容
- Android 为【apk】文件签名,增加修改系统时间等权限
- Tomcat之项目不能发布---myeclipse发布web项目exploded archive
- PHPROXY Encrypt 0.61