title: jQuery select click event of button with particular class
body: <p>I have dynamically added buttons on my page inside a table. Two buttons, with classes "<code>editbuttonclass</code>" and "<code>deletebuttonclass</code>".</p>
  
  <p>I am using this jQuery selection to run on my button click event, it runs on both buttons though, how can I run separate functions depending on the button class?</p>
  
  <p><strong>jQuery</strong></p>
  
  <pre><code>$('#table').on('click',"button", function(e){})
  </code></pre>
  
  <p>I have tried this but it doesn't work:</p>
  
  <pre><code>$('#table').on('click',"button .editbuttonclass", function(e){})
  </code></pre>