为什么会出错:parent.eventright.window.location('eventright.asp?cnd='+cnd+'&key='+key) parent.eventright.window.location="eventright.asp?cnd="+cnd+"&key="+key;如果还不行 就先用个变量构造好var curl="eventright.asp?cnd="+cnd+"&key="+key;parent.eventright.location=curl; //我怀疑不必写window@_@ 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 parent.eventright.window.location.replace('eventright.asp?cnd='+cnd+'&key='+key) replace 才是方法,location 代表地址,设定它等于某个地址。 就是,你如果想直接改变当前的location那么用:location=(//your new url string)或者用版主说的location 的方法 replace(//your new url string)懂了没? parent.eventright.window.location.href('eventright.asp?cnd='+cnd+'&key='+key) parent.eventright.window.location='eventright.asp?cnd='+cnd+'&key='+key不小心写错了 对一行<SPAN>和</SPAN>隐藏后后面的SPAN行怎么跟进来 jquery显示隐藏问题 当iframe页面获得焦点时触发指定事件 JS问题 请问firefox下 javascript post 怎么提交,看下我的代码哪有问题 急:能否实现类似金山词霸的自动显示功能? 怪事年年有! 高分求救:在同一窗口中如何自动转到另一个网页,不用点击连接 为什么我用innerHTML插入的元素被截取了呢? javascript 里面的Math 用来干吗啊我觉得懂了不会用啊 How to get the Radio value 如何隐藏子对象?
replace 才是方法,location 代表地址,设定它等于某个地址。
不小心写错了