| 发表于:2007-01-06 15:48:259楼 得分:0 |
第一页: <input type= "submit " value= "测试 " onclick= "window.open( 'test.htm ', ' ', ' '); "> test.htm <!doctype html public "-//w3c//dtd html 4.01 transitional//en "> <html> <head> <title> untitled document </title> <meta http-equiv= "content-type " content= "text/html; charset=gb2312 "> </head> <body> <script> var obj = window.opener.input.value; document.write( "这就是上页来的\ " "+obj+ "\ " "); </script> </body> </html> | | |
|