首页 新闻 赞助 找找看

window.parent.location.href='../Login.aspx'"/谷歌浏览不起作用。。。

0
悬赏园豆:10 [已关闭问题] 关闭于 2013-10-18 11:46

 <input type="submit" name="button" id="button" value="登出" class="btn01" onclick="window.parent.location.href='../Login.aspx'"/>

谷歌浏览器不起作用是为什么

winnnnnner的主页 winnnnnner | 初学一级 | 园豆:47
提问于:2012-12-07 17:19
< >
分享
所有回答(6)
0

<input type="button" name="button" id="button" value="登出" class="btn01" onclick="location.href='../Login.aspx'"/>

Rich.T | 园豆:3440 (老鸟四级) | 2012-12-07 17:21
0

onclick="javascript:window.parent.location.href='../Login.aspx'"/

只会造轮子 | 园豆:2274 (老鸟四级) | 2012-12-07 17:22
0

window.top.location.href

不是表单里的按钮type不要用submit

向往-SONG | 园豆:4853 (老鸟四级) | 2012-12-07 17:33
0

都提交了,你的那个代码没有任何的效果,改为type="button"

chenping2008 | 园豆:9836 (大侠五级) | 2012-12-07 21:37
0

解决。。。。。。。。。。。

winnnnnner | 园豆:47 (初学一级) | 2012-12-26 09:52
0

不是表单里的按钮type不要用submit

胖多多 | 园豆:12 (初学一级) | 2017-05-16 10:50
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册