Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Feedback on: irt.org FAQ Knowledge Base Q853

irt.org | About | Feedback | 3298 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q853

Sent by
Mahendra Kulkarni on November 05, 2001 at 05:10:49:

Technical:
Not technical enough

Comments:
It works fine but not all the time. If I add <script language="JavaScript"></script> to above code, it gives error.

Try this code which gives me error -
<iframe width="100%" height="100" src="blank.htm"></iframe>

<script language="JavaScript">
document.frames[0].document.open();
document.frames[0].document.write('<html>');
document.frames[0].document.write('<head>');
document.frames[0].document.write('<script language = "JavaScript">');
document.frames[0].document.write('function foo(){alert("hi");}');
document.frames[0].document.write('</script>');
document.frames[0].document.write('</head>');
document.frames[0].document.write('Hello world');
document.frames[0].document.write('</html>');
document.frames[0].document.close();
</script>


Can you help me in solving this problem?




Other feedback on 'irt.org FAQ Knowledge Base Q853' - show all


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.