![]() |
|
|
| 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. |
|
| There is no answer at this time. |
|
| There are no comments at this time. |
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 Home - Answers FAQ - Terms of Service - Privacy Policy |