document.frames("BoardTitle");
这是我js函数中的一句,在火狐下不支持frames

解决方案 »

  1.   

    你可以用parent.框架名来引用,parent.frames[x]这样方式要看你的框架的具体结构了,可能是parent.frames[x],也可能是top.frames[x]。 
      

  2.   

    http://topic.csdn.net/t/20051011/12/4318857.html
      

  3.   

    IE&&FF//contentWindow为IE和FF下通用,推荐这种方式来访问frame里内容
    window.document.getElementById(frameid).contentWindow.document.getElementById(elementid)
    //测试通过,通过frame的索引同样可以访问
    window.document.frames[index].document.getElementById(elementid)
    //用framename来访问
    window.document.frames[framename].document.getElementById(elementid)