<html><head><title>study 031</title><script language="javascript" type="text/javascript">...function ShowInput()...{ newwin = window.open('', '新窗体', 'toolbar=no,status=no,width=200,height=100'); newwin.document.write ( "<html> " + "<body> " + "<input type='text' value='default' id='text1'><input type='button' value='修改' " + " onClick='opener.document.getElementById("text1").value = " + " document.getElementById("text1").value;'> " + "</body> " + "</html> " );}</script><body><input type="text" id="text1"><input type="button" value="显示输入框" onClick="ShowInput();"></body></html>