表单设计

来源:互联网 发布:小学生自学游戏编程 编辑:程序博客网 时间:2024/05/16 07:43
<html><head><title>进入下一页吗</title><script language="JavaScript" type="text/javascript">var http="zjc.ncu.cn/fws";//预设的网址var url="next.html";//正确后转到网址function gohttp(o){if(o.http.value==http){document.location.reload(url);}}</script></head><body style=" text-align:center"><form action="" method="get">请输入网址:<input name="http" type="text" size="40" /><br><input type="button" onClick="gohttp(this.form);" value="进入"></form></body></html>
原创粉丝点击