How can i add an element from JavaScript?
-
hi all, lets say that i created a table dynamically on javascript by this command: var DummyTable = document.createElement ( 'table' ) ; how can i insert (render) this element into the document object or lets say other objects like DIV? please write me the command for this.
-
hi all, lets say that i created a table dynamically on javascript by this command: var DummyTable = document.createElement ( 'table' ) ; how can i insert (render) this element into the document object or lets say other objects like DIV? please write me the command for this.
sorry for such a silly question, seems that i was in rush for answer without even thinking about it, i forgot all about the document.all, anyway what i need now is to have a deep copy for an existing HTML Table that is rendered so i can perform processing at it then replace it with the HTML Table that i alreadt have in the document, remember what i want is a deep copy not just a reference to the table that i already have... thank alot for being patient.