df32a10e735b5ccdecd7864f774166cf8fee300a.svn-base 1.2 KB

1234567891011121314151617181920212223242526272829
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%
  3. String path = request.getContextPath();
  4. %>
  5. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  6. <html xmlns="http://www.w3.org/1999/xhtml">
  7. <head>
  8. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  9. <title></title>
  10. <!--框架必需start-->
  11. <script type="text/javascript" src="<%=path%>/libs/js/jquery.js"></script>
  12. <script type="text/javascript" src="<%=path%>/libs/js/language/cn.js"></script>
  13. <script type="text/javascript" src="<%=path%>/libs/js/framework.js"></script>
  14. <link href="<%=path%>/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
  15. <link rel="stylesheet" type="text/css" id="skin" prePath="<%=path%>/"/>
  16. <link rel="stylesheet" type="text/css" id="customSkin"/>
  17. <!--框架必需end-->
  18. </head>
  19. <script>
  20. function btnClick(){
  21. top.document.getElementById("_DialogFrame_a1").contentWindow.document.getElementById('input1').value=document.getElementById("input2").value;
  22. top.Dialog.close();
  23. }
  24. </script>
  25. <body>
  26. 填写文本框后点击确定:<input type="text" id="input2"/><br />
  27. <input type="button" value="确定" onclick='btnClick()'/>
  28. </body>
  29. </html>