1.html 2.jsp我在1.html中我用点“确定”按钮的方式打开的2.jsp<input type="button" name = "button1" value="确定" onclick="window.location.href='http://localhost:8080/test/1.jsp';"/>
在1.html中有一个文本框:text
如何在2.jsp中获取text的值
在1.html中有一个文本框:text
如何在2.jsp中获取text的值
或者用
var obj=new Object();
obj.name="";
window.showModalDialog("",obj,"");var obj=window.dialogArguments;
obj[0].value;