[推荐]ASP初学者常用的代码3

作者在 2007-05-09 06:42:00 发布以下内容

24.点击返回上页代码:
<form>
<p><input TYPE="button" ="
返回上一步" ="history.back(-1)"></p>
</form>
24.
点击刷新代码:
<form>
<p><input TYPE="button" ="
刷新按钮一" ="ReloadButton()"></p>
</form>
< language="java"><!--
ReloadButton(){location.href="allbutton.htm";}
// --></>
 

24.点击刷新代码2:
<form>
<p><input TYPE="button" ="
刷新按钮二" ="history.go(0)"> </p>
</form>
 

<form>
<p><input TYPE="button" ="
打开一个网站" ="HomeButton()"></p>
</form>
< language="java"><!--
HomeButton(){location.href="
http://nettrain.126.com";;;;}
// --></>
 

25.弹出警告框代码:
<form>
<p><input TYPE="button" ="
弹出警告框" ="AlertButton()"></p>
</form>
<

ASP | 阅读 1100 次
文章评论,共0条
游客请输入验证码