Jquery dynamic TextBoxes with Request.form Iteration
<p>i am Adding multiple TextBoxes with Jquery in my Application, then in code behind file i want can access the values by Request.form[name]. I want o iterate these textboxes and read values of whatever Text is entered by the user, so i can store it in database.
any idea how can i save the value of these textboxes in Database,
i am working in asp.net 2.0</p>

<pre><code>$(document).ready(function () {

  var counter = 2;

  $("#addButton").click(function () {

   if (counter &gt; 10) {
     alert("Only 10 textboxes allow");
     return false;
   }

   var newTextBoxDiv = $(document.createElement('div')).attr("id", 'TextBoxDiv' + counter);


   newTextBoxDiv.html('&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;input type="text" name="textbox' + counter +
                          '" id="textbox' + counter + '" value="" &gt;&lt;/td&gt;&lt;td&gt;&lt;input type="text" name="textbox' + counter +
                          '" id="textbox' + counter + '" value="" &gt;&lt;/td&gt;&lt;td&gt;&lt;input type="text" name="textbox' + counter +
                          '" id="textbox' + counter + '" value="" &gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;');

   newTextBoxDiv.appendTo("#TextBoxesGroup");
   return false;


   counter++;
  });
 });
</code></pre>
