Page 1 of 1

How to Add New TextBox by clicking a button?

Posted: Mon Mar 09, 2009 11:08 am
by nishmgopal
Hi Guys

I am trying to include a button in my form, where by if you click it, a new textbox is added where the user can enter more info.

Thanks

Re: How to Add New TextBox by clicking a button?

Posted: Mon Mar 09, 2009 2:25 pm
by highjo
you can do it in two ways.either you've originally hid the textbox and change its css display property on click event of your button or you use w3school to find out how to do it.You can also decided to use one of the javascript like jquery , dojo or extjs to do it.i'ld suggest you start with the easiest and the one i prefer for its simplicity:jquery