title: dynamically added element is not wired on jquery event
body: <p>on dom ready I have wired event </p>
  
  <pre><code>$('.someClass').on('input', function (e) {
     //  do something
  });
  </code></pre>
  
  <p>on same I'm injecting html elements with where I add .someClass to include that field for same event</p>
  
  <pre><code>var cssClass = "form-control";
  if (myProperty == true) {
       cssClass = "form-control someClass";
  }
  ('#myTable tr:last').after(
     '&lt;tr&gt;'+
     '&lt;td&gt;&lt;input class=' + cssClass + ' type="text"'&lt;/td&gt;&lt;/tr&gt;'+
     '&lt;/tr&gt;'
  );
  </code></pre>
  
  <p>but I'm getting rendered inside firebug as </p>
  
  <pre><code>&lt;input class="form-control someClass" type="text"&lt;/td someClass=""&gt;
  </code></pre>
  
  <p>and this field is not fetched on .someClass event</p>