it's been a (long) while, but i think it might be a "write" command, or something of that ilk. i'll see if i can swipe it off a site i wrote a long time ago. Regards Elizabeth Fullerton Business Solutions Architect Infosys Australia Tel: +61 3 9911 3529 Fax: +61 3 9911 3407 www.infosys.com Powered by Intellect Driven by values -----Original Message----- From: austechwriter-bounce@xxxxxxxxxxxxx [mailto:austechwriter-bounce@xxxxxxxxxxxxx] On Behalf Of hedley.finger@xxxxxxxx Sent: Thursday, 8 September 2005 1:06 PM To: austechwriter@xxxxxxxxxxxxx Subject: atw: How to include another file in an HTML page? Importance: High JavaScript gooroos (similar to kangaroos but a lot smarter): How do you include the contents of another file in an HTML page? I am stumped. Neither Google nor all of the various JavaScript sites yielded an answer to my problem, even after searching for "javascript urls", "javascript files including", etc. For example, ... <body> <p>Here's my text!</p> <!-- Somehow include contents of contact_details.txt here --> </body> ... The contact_details.txt file contains just this: <p> MyName<br /> MyStreet<br /> MyTown<br /> MyStateAndPostcode<br /> MyTelephoneNumber<br /> </p> So, when I change address, only the contact_details.txt file needs to be updated, thus automatically updating all pages that somehow include it. Question is, how DO you include the contents of an external file? Regards, Hedley -- Hedley Finger Technical Communications Tools & Processes Specialist MYOB Australia <http://myob.com/au> P.O. box 371 Blackburn VIC 3130 Australia 12 Wesley Court Tally Ho Business Park East Burwood VIC 3151 Australia <mailto:hedleyDOTfingerATmyobDOTcom> Tel. +61 3 9222 9992 x 7421, Mob. (cell) +61 412 461 558 (c) MYOB Technology Pty Ltd 2005 ************************************************** To post a message to austechwriter, send the message to austechwriter@xxxxxxxxxxxxxx To subscribe to austechwriter, send a message to austechwriter-request@xxxxxxxxxxxxx with "subscribe" in the Subject field. To unsubscribe, send a message to austechwriter-request@xxxxxxxxxxxxx with "unsubscribe" in the Subject field. To search the austechwriter archives, go to www.freelists.org/archives/austechwriter To contact the list administrator, send a message to austechwriter-admins@xxxxxxxxxxxxx ************************************************** **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** ************************************************** To post a message to austechwriter, send the message to austechwriter@xxxxxxxxxxxxxx To subscribe to austechwriter, send a message to austechwriter-request@xxxxxxxxxxxxx with "subscribe" in the Subject field. To unsubscribe, send a message to austechwriter-request@xxxxxxxxxxxxx with "unsubscribe" in the Subject field. To search the austechwriter archives, go to www.freelists.org/archives/austechwriter To contact the list administrator, send a message to austechwriter-admins@xxxxxxxxxxxxx **************************************************