I want to take a document that contains a number of tables and wrap the
tables inside new elements. I have tried something similar to the
following:
tparent = table.parentNod e;
wrapper = document.create Element('DIV');
wrapper.appendC hild(table);
tparent.replace Child(wrapper,t able);
This doesn't seem to work though (tested in Safari).
--
Kevin Smith
Kevin.Smith@sas .com
tables inside new elements. I have tried something similar to the
following:
tparent = table.parentNod e;
wrapper = document.create Element('DIV');
wrapper.appendC hild(table);
tparent.replace Child(wrapper,t able);
This doesn't seem to work though (tested in Safari).
--
Kevin Smith
Kevin.Smith@sas .com
Comment