[Javascript] Cloneing rows from a document write page

Troy III Ajnej trojani2000 at hotmail.com
Mon Jun 28 17:43:27 CDT 2004


I think non of your scripts will work at all in this dynamically produced 
page, they don't exist!
please use add adjacent html command to dynamically produce the table.


>From: bill.marriott at agric.nsw.gov.au
>Reply-To: "[JavaScript List]" <javascript at LaTech.edu>
>To: "[JavaScript List]" <javascript at LaTech.edu>
>Subject: [Javascript] Cloneing rows from a document write page
>Date: Mon, 28 Jun 2004 09:19:21 +1000
>
>
>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.
>
>
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




More information about the Javascript mailing list