title: Javascript function sending html object
body: <p>I'm using Jquery Datatables. </p>
  
  <p>I have the following code as one of my rows in aaData</p>
  
  <pre><code>case "opties" : $row[] = ("&lt;button onclick='btnselecteer()' 
  style='margin-left:5px;' class='btn grey btn-xs tooltips btn-selecteer' data-original-title='Selecteer/Deselecteer' data-placement='top' data-container='body'&gt;
          &lt;i class='fa fa-check'&gt;&lt;/i&gt;&lt;/button&gt;");
  break;
  </code></pre>
  
  <p>Which gives me a button in one of my table rows
  Now I can't use</p>
  
  <p>$(".btn-selecteer").on('click... so I'm using it with a function. I just can't figure out how to send the button somehow so I can make adjustments to it ( adding/removing a class)</p>