获取iframe里变量或步骤

获取iframe里变量或方法ie&firefoxdocument.getElementById(frameId).contentWindow.varNamedocument.g

获取iframe里变量或方法
ie&firefox 
      document.getElementById("frameId").contentWindow.varName;
      document.getElementById(" frameId ").contentWindow.functionName();
      document.getElementById(" frameId ").contentWindow.document.getElementById("someId");
      $("# frameId ").contents().find("# someId ");

  ie 
      document.frames(" frameId ").window.document.getElementById(" someId ");

  firefox 
      document.getElementById(" frameId ").contentDocument.getElementById(" someId ");