现在的位置: 首页 > 综合 > 正文

NewBox.jsp

2013年09月25日 ⁄ 综合 ⁄ 共 942字 ⁄ 字号 评论关闭

<!--刚来的时候写的代码-->

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<%@ taglib prefix="s" uri="/struts-tags"%>

<html>

<head>

<title>时间输入框</title>

<script type="text/javascript">

function openwindow(){

var strA=document.getElementById("startDate").value;

var strB=document.getElementById("endDate").value;

var url='<%=request.getContextPath()%>/module.html?page=indexinfo/peBandMap.do&startDate='+strA+'&endDate='+strB;

window.opener.location.href=url;

window.close();

}   

</script>

</head>

<body>

<!--显示查询业面-->

<div id="searchPortfolio">

<form method="post">

<table border="0" cellspacing="0" cellpadding="0">

<tr>

<td>开始时间:</td>

<td><input type="text" name="startDate" id="startDate" /></td>

<td>结束时间:</td>

<td><input type="text" name="endDate" id="endDate" /></td>

</tr>

<tr>

<td colspan="2" class="textcenter"><input name="" type="submit"

value="查 询" class="btn1" onclick="openwindow()" /> <input name=""

type="reset" value="取 消" class="btn1" /></td>

</tr>

</table>

</form>

</div>

</body>

</html>

抱歉!评论已关闭.