title: access ExtJS from iframe
body: <p>I have an intranet web application which uses iframes. The outer web-page has a menu and an iframe. The inner webpage is loaded inside this iframe based on the selected menu item in the outer page. All the pages are using lots of ExtJS, so in order to minimize the number of times extjs library is loaded I have decided to load it only once in an outer page and reference it from the inner pages like:</p>
  
  <pre><code>new top.Ext.grid.GridPanel();
  </code></pre>
  
  <p>I understand that I have to use document.getElementById() function to specify renderTo. But I still got errors. Is it even possible to use ExtJs this way? And what are the other limitations?</p>