title: How to read dynamic textbox value by div ID and use this ID in another jquery?
body: <p>I use below script for dynamic textbox.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(function () {
      $("#btnAdd").bind("click", function () {
          var div = $("&lt;div /&gt;");
          div.html(GetDynamicTextBox(""));
          $("#TextBoxContainer").append(div);
      });
  
  });
  function GetDynamicTextBox() {
      return 'Item Code : &lt;select name="iuname" id="iuname" class="required"&gt;'+
              &lt;?php foreach($tItem as $row) : ?&gt;
                '&lt;option value="&lt;?php echo $row-&gt;ProductID;?&gt;"&gt;&lt;?php echo $row-&gt;ProductID;?&gt;&lt;/option&gt;'+
              &lt;?php endforeach;?&gt;
          '&lt;/select&gt;'+
  
          ' Batch : &lt;input id="buname" name="buname" &gt;'+
  
          '&lt;td  id="finalResult"&gt;&lt;/td&gt;'+
          '&lt;br/&gt;'
  
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>When I'll change Item Code from drop down it have to show alert. But it don't show any alert.</p>
  
  <pre><code>&lt;script&gt;
   $(document).ready(function(){
   $("#iuname").keyup(function(){
  
        alert('TEST');
       });
    });
  &lt;/script&gt;
  </code></pre>