Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

just want to set a variable = contents of a <TABLE> object

Status
Not open for further replies.

ericw

Technical User
Apr 20, 2001
2
US
For most objects, you can use the innerHTML property. FOr example, if you want to store the contents of an ordered list, you can specify:

var OLcontents = [OLid].innerHTML

But the innerHTML property doesn't work with <TABLE> objects. Does anyone know a way set a variable = to the contents of an HTML table?
 
Hi,

I've never tried... Try to set an ID or name to the cell you want to change.

Regards,
Luís Silva
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top