Page 1 of 1
how to append text box fields???plz tell me..
Posted: Sat Nov 26, 2011 12:02 pm
by zaib_alone
I've facing a problem.
i want append the text fields with a button "add more fields" on the same page..
kindly tell me how can i do this..??
Re: how to append text box fields???plz tell me..
Posted: Sat Nov 26, 2011 1:03 pm
by Celauran
Use JavaScript's appendChild()
Re: how to append text box fields???plz tell me..
Posted: Mon Nov 28, 2011 6:45 am
by Gopesh
Hi,hope that u need to create textbox dynamically on click on a button.For that use jquery or javascript. Retreiving the values of dynamically created textboxes use
foreach in php code. Here is the link that will help u
http://www.mkyong.com/jquery/how-to-add ... th-jquery/
Re: how to append text box fields???plz tell me..
Posted: Mon Nov 28, 2011 1:21 pm
by mikeashfield
or hide the forms by default, and then have JS unhide them.