PDA

View Full Version : Adding controls dynamically



SwaroopKumar
02-10-2005, 11:32 AM
Hi
I need a solution for this....

" I have a html form of which it contains 5 text boxes after that a button in a row.
If i click on the button another row of 5 textboxex has to be added to the table.

How can i do this...plz help me.

mwinter
02-10-2005, 01:05 PM
I have a html form of which it contains 5 text boxes after that a button in a row.
If i click on the button another row of 5 textboxex has to be added to the table.I've produced something like that (http://mwinter.webhop.info/harsha/table.html) before. Hopefully you can adapt it.

Mike

SwaroopKumar
02-11-2005, 09:51 AM
Thats really a great solution..........
Thanks a lot mike


Regards / Thanks

Swaroop Kumar.Tata

SwaroopKumar
02-11-2005, 10:23 AM
And i need that js file and css file mike.....

mwinter
02-11-2005, 11:23 AM
And i need that js file and css file mike.....Sent via PM. The files are in the same directory. See the HTML source for the file names.

Mike

SwaroopKumar
02-11-2005, 11:36 AM
Got it....Thanks again mike

nlakshminarasimhan
07-11-2005, 10:59 AM
Got it....Thanks again mike

Swaroop,

I am also in need of dynamically adding html controls to htlm form. Could you please send me the .js and .css file. Thanks in advance.

regards,
LakshmiNarasimhan.

mwinter
07-16-2005, 03:02 PM
Swaroop,

I am also in need of dynamically adding html controls to htlm form. Could you please send me the .js and .css file.I would have thought it would be better to ask me, seeing as I wrote it. :rolleyes:

As I said to Swaroop, the file names are in the markup - I haven't hidden the code anywhere.

The script (http://mwinter.webhop.info/harsha/table.js).
The style sheet (http://mwinter.webhop.info/harsha/table.css).

Mike

gandarv
04-27-2009, 12:25 PM
hello...pls help...me too want it.....

traq
04-29-2009, 04:42 AM
dude... FOUR YEAR-OLD THREAD!!! lol

amutha
04-30-2009, 09:42 AM
its a old post.......... :rolleyes: