title: How to get all the contents inside an HTML tag for selected div asp.net codebehind
body: <p>Is it possible to get all form variables inside the selected div?</p>
  
  <p>e.g: <code>this.Page.Request.Form[""]</code> this will return all data but can it get data within a selected div?</p>
  
  <p>e.g :   </p>
  
  <pre><code>&lt;div id="a"&gt;
      &lt;input type = "text" id="input1"&gt;
      &lt;input type = "text" id="input2"&gt;
  &lt;/div&gt;  
  &lt;div id="b" style="display:none"&gt;
      &lt;input type = "text" id="input1"&gt;
      &lt;input type = "text" id="input2"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>both div are must.</p>