Closed Thread Icon

Topic awaiting preservation: Adding Row in a table with text boxes (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=8152" title="Pages that link to Topic awaiting preservation: Adding Row in a table with text boxes (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Adding Row in a table with text boxes <span class="small">(Page 1 of 1)</span>\

 
Erymastura Hasnan
Obsessive-Compulsive (I) Inmate

From: Ipoh,Perak,Malaysia
Insane since: Apr 2002

posted posted 04-26-2002 05:21

I would love to know how to add a row in a table using javascripts with text boxes in it.

lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 04-26-2002 08:23

well, it can be done, but it is a bit tricky and perhaps less compatible.

You can get the table tag an id and then get its innerHTML and parse it out and then before its closing </table> insert a new <tr><td><input type='text'>.....</td></tr>

and then rewrite the new innerHTML string.

i've done it before, but sorry, I don't have the source code any longer.

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 04-30-2002 19:38

http://scriptbreaker.brinkster.net/examples/add_row_pro.htm

Later,
C:\


~Binary is best~

manje
Nervous Wreck (II) Inmate

From: Malaysia
Insane since: Apr 2002

posted posted 05-09-2002 03:06

thanx a lot to u..It really work and I can continue my project!!!

« BackwardsOnwards »

Show Forum Drop Down Menu