能把 <input type="button" name="button1" value=" 搜 索 " onclick="window.location='a.html'" />改IP
请问怎样才能把onclick事件中的location改为本机IP?谢谢啦!
请问怎样才能把onclick事件中的location改为本机IP?谢谢啦!
答案:window.location="http://ip/a.html"
上一个:程序员仓库下载 http://www.pudn.com/downloads180/doc/project/detail840204.html 有积分的帮忙下载。
下一个:那个我想用z-tree作个树结构的html模板,用php调用,该如何做啊。