[Javascript] Cloneing rows from a document write page

bill.marriott at agric.nsw.gov.au bill.marriott at agric.nsw.gov.au
Sun Jun 27 18:19:21 CDT 2004


Hi Everyone,

I have used the following code in normal html pages to add rows of a table
on the fly.

 var newQueryRowObj = QueryRowObj.cloneNode(true); //clone the existing row

However in a page that is produced purely by Javascript as in

document.writeln('<table border="0" cellspacing="0" cellpadding="2"
width=100% ID="QueryTable">'); etc etc

The code doesn't appear to work.

Does anyone know why?

thanks

Bill Marriott
Analyst/Programmer
Information Technology
NSW Agriculture
Orange

Ph.  02 6391 3657
Fax. 02 6391 3290


This message is intended for the addressee named and may contain
confidential information. If you are not the intended recipient or received
it in error, please delete the message and notify sender. Views expressed
are those of the individual sender and are not necessarily the views of
their organisation.





More information about the Javascript mailing list