Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback on: irt.org FAQ Knowledge Base Q853, November 05, 2001 at 05:10:49:

You are here: 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

©2018 Martin Webb