javascript在linux下的问题
lkkjx 2005-05-20 11:15:33 1、操作网页中的iframe
a.htm
<html>
<iframe id="SearchInfo" width="90%" height="90%" frameborder="0" hspace="0" vspace="0" framespacing="0" scrolling="auto"></iframe>
</html>
f.js
var txtDoc = Win1.SearchInfo.info.document;
txtDoc.clear();
上面这个代码在IE上没问题,在LINUX下就会出错
2、bs.htm
<script ....>
selectAll ()
{
var f = top.bb.document.forms[0];
f.submit;
}
</script
<a href="#" onClick ="javascript:selectAll(oilList,true)">详细信息</a>
上面的代码在IE下没问题,而在LINUX上可以正常提交,不过bs.htm所在的frame会变成提交到的那个页面也就是top.bb。
上面2个问题不知道大家有看过没,谢了。