title: how to call div from javascript function
body: <p>I have to call div from javascript function.</p>
  
  <p>I have form tag like this:</p>
  
  <pre><code>&lt;form action="save_json.php" id="hazardForm" method="post" onsubmit="displayDiv()"&gt;
  </code></pre>
  
  <p>and here is div which I have to call from  displayDiv() function.</p>
  
  <pre><code>&lt;div data-role="popup" id="submitPopup"&gt;
                      &lt;div data-role="main" class="ui-content"&gt;
                          &lt;p data-theme="b" style="color: #30659B"&gt;FORM REPORTED
                              SUCCESSFULLY&lt;/p&gt;
                          &lt;br&gt; &lt;br&gt; &lt;a href="#initialPage" data-role="button"
                              id="clearHz1" data-theme="b" data-mini="true"&gt;OK&lt;/a&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
  </code></pre>
  
  <p>Please help me!!</p>