title: Unable to get data from dynamically created textfield in javascript
body: <p>I have a small project where i created text fields based on user input. </p>
  
  <pre><code>$('#arraySizeButton').click(function() {
  var arraySize = $("#arraySize").val();
  if(arraySize=='') {
      alert("Enter Some Text In Input Field");
  }else{
      var count = arraySize;
      var html = [];
      while(count--) {
        html.push("\&lt;input type='text' id='inputTextField", count, "'&gt;");
      }
      $('#inputTextFieldsarea').append(html.join(''));
  }
  });
  </code></pre>
  
  <p>I want to create a dynamic program based on above code and retrieve data from textfields to an array. Appreciate your help.</p>