title: JQueryUI not working with multiple buttons that use the same ID
body: <p>So these are my buttons</p>
  
  <pre><code>&lt;button name="btnSubmit" value="refreshPreview"&gt;Refresh Preview&lt;/button&gt;
  &lt;button name="btnSubmit" value="saveChanges"&gt;Save Changes&lt;/button&gt;
  </code></pre>
  
  <p>I use the same ID because in PHP I just see if $_POST['btnSubmit'] = 'refreshPreview' or 'saveChanges' which I feel is a valid use.</p>
  
  <p>This JQuery does not affect either button. How can I correct this, is there a way to select all buttons with the same ID?</p>
  
  <pre><code>$( "#btnSubmit" ).button();
  </code></pre>
  
  <p>Thanks</p>