Google Answers Logo
View Question
 
Q: Embedded JavaScript document.write in Netscape 4.x ( No Answer,   0 Comments )
Question  
Subject: Embedded JavaScript document.write in Netscape 4.x
Category: Computers > Internet
Asked by: nickolausp-ga
List Price: $20.00
Posted: 16 Jul 2003 07:26 PDT
Expires: 15 Aug 2003 07:26 PDT
Question ID: 231606
When embedding a JavaScript document.write within a JavaScript
document.write in Netscape 4.x (example below), the text is written
out of logical order.

<script type="text/javascript">
	<!--
	document.write('<script
type=\"text/javascript\">document.write(\'111\');<\/script>222');
	document.write('333');
	//-->
</script>

The correct output should be "111222333" as produced by all versions
of IE, Netscape 3.x and below, and Netscape 6.x and above.

However, Netscape 4.x produces "111333 222".  Notice the space between
the elements and that the elements are not in order.

What is causing this issue and how do I resolve it?  I need these
embedded JavaScript document.write's to work.
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy