title: Bind jQuery click event only to certain buttons
body: <p>I have a website which create various inputs dynamically.</p>
  
  <p>I have 3 specific inputs which I would like to call a JQuery function when clicked.</p>
  
  <pre><code>&lt;input type="button" name="Finish" value="Finish"&gt;
  &lt;input type="button" name="Update" value="Update"&gt;
  &lt;input type="button" name="Cancel" value="Cancel"&gt; 
  </code></pre>
  
  <p>Was using this code:</p>
  
  <pre><code>jQuery(":button").click(function(){
      //Do summat
  }):
  </code></pre>
  
  <p>but this was making all the inputs on the page call the function when I only want the 3 inputs above to call the function. Is this possible? </p>
  
  <p>uggers</p>