How to pass the dynamic text box value to another php page
<p>i make a dynamic textbox through javascript now i want to post the data of all dynamically generated textboxes to php script and then insert into a table. how can i do this...    </p>

<pre><code>&gt; var intTextBox=0;
&gt; 
&gt; //FUNCTION TO ADD TEXT BOX ELEMENT 
&gt; function addElement() { 
&gt; intTextBox = intTextBox+1;
&gt; 
&gt; var contentID = document.getElementById('content'); 
&gt; var newTBDiv =document.createElement('div');
&gt; newTBDiv.setAttribute('id','strText'+intTextBox); 
&gt; newTBDiv.innerHTML="Author  : &lt;input type='text' id='citingfield' name='"intTextBox"'/&gt;";
&gt; contentID.appendChild(newTBDiv);
&gt; }
&gt; 
&gt; //FUNCTION TO REMOVE TEXT BOX ELEMENT 
&gt; function removeElement() {
&gt; if(intTextBox != 0) 
&gt; {
&gt; var contentID = document.getElementById('content');
&gt; contentID.removeChild(document.getElementById('strText'+intTextBox));
&gt; intTextBox = intTextBox-1; } }
&gt; 
&gt; &lt;body&gt;
&gt; 
&gt; &lt;form action="add_save.php" method="post"  &gt; 
&gt; 
&gt; &lt;div id="content"&gt;&lt;/div&gt; &lt;p&gt;&lt;a href="javascript:addElement();"
&gt; &gt;Add&lt;/a&gt; &lt;a href="javascript:removeElement();" &gt;Remove&lt;/a&gt;&lt;/p&gt;
&gt; 
&gt; &lt;input name="submit" type="submit" id=" " value="Submit"&gt;
&gt; &lt;/from&gt;
</code></pre>
