title: How to open second page div in first page click function
body: <p>Is it possible to open second page particular div content in first page click function ,i need to open particular div content only all other divs are hide</p>
  
  <p>Here is my click function of first page:</p>
  
  <pre><code>function quiz(){
              $("#secondlist").show();
              window.location = "second.jsp"
  
  
          }
  </code></pre>
  
  <p>This is my list:</p>
  
  <pre><code>&lt;div id="sample" class="content" style="display: none"&gt;
  &lt;ul class="tabs"&gt;
  &lt;li id="tab4"&gt;&lt;a href="javascript:quiz()"&gt;Quiz&lt;/a&gt;&lt;/li&gt;
  &lt;/ui&gt;&lt;/div&gt;
  </code></pre>
  
  <p>and second page div:</p>
  
  <pre><code>&lt;div id="secondlist" style="display: none"&gt;
  &lt;h3&gt;sample&lt;/h3&gt;                         
  &lt;/div&gt;  
  </code></pre>
  
  <p>Could you please help anyone:</p>