请教一个小问题,如何使一个按钮具有超链的功能(VBScript)

请教一个小问题,如何使一个按钮能超链(VBScript)
谢谢
---------------------------------------------------------------

1<button onclick="window.location.href='http://www.estyle.com.cn/'">Click</button>

或者:

1<input onclick="window.location.href='http://www.estyle.com.cn/'" type="button" value="Click"/>

你也可以把
window.location.href='http://www.estyle.com.cn/'
改成:
window.navigate('http://www.estyle.com.cn/')

Published At
Categories with Web编程
Tagged with
comments powered by Disqus