[Javascript] Cloneing rows from a document write page
Peter Brunone
peter at brunone.com
Sun Jun 27 20:10:09 CDT 2004
Hi Bill,
What exactly doesn't work? Do you get errors, or just nothing?
What does the rest of your code look like? Are you perhaps trying to
clone a row that doesn't exist yet?
Regards,
Peter Brunone
_______________
EasyListBox.com
-----Original Message-----
From: javascript-bounces at LaTech.edu On Behalf Of
bill.marriott at agric.nsw.gov.au
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
More information about the Javascript
mailing list