求救!如何用javascript制作超连接和form表单!
cou 2003-08-21 07:07:18 我想用下面的方法实现表单(或超连接)但是运行网页的时候系统报出有错!
<script language=javascript>
OpenWindow=window.open("", "newwin", "height=200,width=300,top=10,left=10");
OpenWindow.document.write("<html>")
OpenWindow.document.write("<body bgcolor=lightyellow>")
OpenWindow.document.write("<form><input method=post type="submit"></form>")
OpenWindow.document.write("</body>")
OpenWindow.document.write("</html>")
OpenWindow.document.close()
</script>
但是系统报出错误,大家说应该用什么方法实现javascript生成post表单和超连接呢?