Click to See Complete Forum and Search --> : How to pass the data from a table to variables?


arturion
11-27-2003, 10:08 PM
How can I identify the text of a <td> and pass it to a variable? How to add rows to an existent table, pushing a button? Is there a function or a tutorial about it?

fredmv
11-27-2003, 10:50 PM
You can do this using DOM (Document Object Model) functions. Check the attachment for a commented example. I tested it under Mozilla 1.6a and Opera 7.23, it fails in IE6, however (because IE doesn't support many DOM functions, Web standards, or anything else for that matter).