title: refer to html-button in ExtJS file
body: <p>In a jsp file, a form is created wherein a button is specified.</p>
  
  <p>I am using ExtJS 4. 
  I need to get reference of the html-button in ExtJS file.
  On click of this html-button, display the Ext components(grid panel) on the page.
  I tried using Ext.DomQuery but no luck. Please provide pointers</p>
  
  <p>Also posted at ExtJS4 forums <a href="http://www.sencha.com/forum/showthread.php?148205-refer-to-html-button-in-ExtJS-script&amp;p=652122" rel="nofollow">http://www.sencha.com/forum/showthread.php?148205-refer-to-html-button-in-ExtJS-script&amp;p=652122</a></p>
  
  <p>Thanks,
  -Divya</p>
  
  <p>code snippet below:</p>
  
  <p>report.jsp</p>
  
  <pre><code>&lt;%@ page import="java.util.*" %&gt;
  &lt;%@ page import="java.io.PrintWriter" %&gt;
  &lt;%
   some java code
  %&gt;
  &lt;link rel="stylesheet" type="text/css"
  href="../js/extjs4/resources/css/ext-all.css" /&gt;
  &lt;link rel="stylesheet" type="text/css" href="../js/extjs4/shared/example.css" /&gt;
  &lt;script type="text/javascript" src="../js/extjs4/bootstrap.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="../js/extjs4_scripts/report/reportPanel.js"&gt;         
  &lt;/script&gt;
  
  &lt;form name="reportpage" id="prcr" method="post" action="url"&gt;
  &lt;table&gt;
  &lt;tr&gt;
  &lt;td&gt;
  &lt;input id=\"osSubmitButton\" type=\"button\" name=\"submitRelease\" value=\"Submit\"&gt;
  &lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>reportPanel.js</p>
  
  <pre><code>Ext.Loader.setConfig({enabled: true});
  Ext.Loader.setPath('Ext.ux', '../extjs4/ux/');
  Ext.require([
  'Ext.DomQuery.*',
  'Ext.data.*',
  'Ext.grid.*',
  'Ext.tree.*',
  'Ext.util.*',
  'Ext.toolbar.Paging',
  'Ext.ux.grid.FiltersFeature',
  'Ext.tip.QuickTipManager'
  ]);
  Ext.onReady(function() {
  
  Ext.tip.QuickTipManager.init();
  
  var btn=Ext.query("#osSubmitButton");
      btn.on("click", function(){
           console.info("clicked");
          relstore.load();
          reportPanel.setVisible(true);
      });
  
  });
  </code></pre>