title: Dynamically created texbox does not post values
body: <p>Why don't dynamically created textboxes using jQuery post values to the post method in the controller?</p>
  
  <p>jQuery code as follows:</p>
  
  <pre><code>$(document).ready(function () {
      var counter = 0;
      var curContactCount = $("#contactcount").val();
  
      $("#addContactButton").click(function () {
          if (parseInt(counter) + parseInt(curContactCount) &gt;= 50) {
              alert("Only 50 Contacts allowed");
              return false;
          }
  
          var firstNameStr = 'NewContactList[' + counter + '].FirstName';
          var firstNameId = firstNameStr.replace("[", "_").replace("]", "_").replace(".", "_");
  
          var newTextBoxDiv1 = $(document.createElement('div')).attr("id", 'NewContactGroup');
  
          newTextBoxDiv1.html(
     ' &lt;div class="column-margin-20t20b"&gt;' +
         ' &lt;div class="box"&gt;' +
             ' &lt;div class="left"&gt;' +
                  '&lt;label for="' + firstNameId + '"&gt;First Name&lt;/label&gt;' +
             ' &lt;/div&gt;' +
             ' &lt;div class="right"&gt;' +
                 ' &lt;input type="text" name="' + firstNameStr + '" id="' + firstNameId + '" value=""&gt;&lt;/input&gt;' +
             ' &lt;/div&gt;' +
         ' &lt;/div&gt;' +
      ' &lt;/div&gt;'
  );
  
          newTextBoxDiv1.appendTo("#mainDivNewClient");
          counter++;
      });
  });
  </code></pre>
  
  <p>Controller code:</p>
  
  <pre><code>[AcceptVerbs(HttpVerbs.Post)]
          public ActionResult AddNewClient(ClientViewModel clientToAdd, System.Collections.Generic.Dictionary&lt;string, string&gt; qString)
          {
              try
              {
                  if (ModelState.IsValid)..........
  </code></pre>
  
  <p>In clientToAdd, I am getting NewContactList as nulll. Why?</p>