title: JQuery get value from dynamically created input by tr
body: <p>I have dynamically created table with <code>JQuery</code> and i would like to get value of <code>input</code> elements:</p>
  
  <pre><code>$el.append('&lt;tr data-id='+ data[i].id + ' data-token='+data[i].token + '&gt;&lt;td&gt;'+data[i].order+'&lt;/td&gt;\n\
        &lt;td&gt;&lt;input name="qty" id="qty" type="number" value="'+data[i].qty+'" min="1"&gt;&lt;/td&gt;\n\
     ......
  </code></pre>
  
  <p>With this code i can generate table(this is a fragment of code only).
  I know how to access into values of tr tag:</p>
  
  <pre><code>$('body').on('click', 'a.link', function(e) {
      e.preventDefault();
  
      var tr = $(this).closest('tr'),
          id = tr.data('id'), // we have the id
          token = tr.data('token'), // we have the token 
          qty = tr.data('qty'); &lt;------------- this not working
   })
  </code></pre>
  
  <p>How to get value of <code>qty</code>?</p>