title: What are the advantages of using name vs id in jquery
body: <pre><code>&lt;input type ="button" name="buttonsel" id="buttonse1"/&gt;
  </code></pre>
  
  <p><code>$("#buttonse1")</code> VS <code>$("[name=buttonse1]")</code></p>
  
  <p>What are the advantages in using name and id in jquery</p>