document.frames[0].location.replace的兼容性问题 document.frames[0].location.replace(.....) 这条语句在IE下好使,在google FF下都不好用,有没有可以替代它的js?作用就是改变iframe里的内容。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 document.getElementsByTagName("frames")[0].src="http://xxxx.com"; google下好用了,可是IE下又不好使了 //合并了它 if(-[1,]){ document.getElementsByTagName("frames")[0].src="http://xxxx.com"; }else{ document.frames[0].location.replace("http://xxxx.com"); } 怎么用js取jsp页面中的代码? bing地图api js预览图片问题 字符串比较 在线等~~ jsp页面之间传递参数及相关 Ext 基础 如何用javascript控制浏览器的编码?谁给我答案,我给谁100分. 请教大神jquery里ajax的同步和异步的问题 请问,出现了运行时间的错误,未结束的字符串变量,怎么解决 加密后的.js 文件内容如何解密? 求搭救啊~ 大神们 我的js代码有问题 求修改 怎样在JavaScript里写一个swing?
if(-[1,]){
document.getElementsByTagName("frames")[0].src="http://xxxx.com";
}else{
document.frames[0].location.replace("http://xxxx.com");
}