title: Get the id of html page in jQuery?
body: <p>I have an id on my page from that I have taken all the html by using <code>.html()</code> function in a variable .Now, I want to use the id from the variable in which I have stored the html. How can I do this in jQuery? I am not getting any idea. Please help me in this! </p>
  
  <pre><code>var idhtml= $("#id").html();
  </code></pre>
  
  <p>Like this, I have the html in idhtml </p>
  
  <pre><code>&lt;input type="text" id="id1" name="id1" value="" class ="test" /&gt;
  &lt;input type="text" id="id2" name="id1" value="" class ="test" /&gt;
  &lt;input type="text" id="id3" name="id1" value="" class ="test" /&gt;
  </code></pre>
  
  <p>By <code>idhtml</code>, I want to get the id in the variable.</p>