Click to See Complete Forum and Search --> : Storing HTML and tables in a variable?


FlyByProgrammer
08-10-2003, 08:13 AM
It is possible to store HTML in a variable? A table layout for example?

Charles
08-10-2003, 08:18 AM
You cannot store a table layout in a variable because you ought not to use a table for layout.

You can assign HTML as a string to a variable and you can assign any element in the Document Object Model, along with all child elements, to a variable. See http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/.