S
syedfazalullah
Hi,
Is there any one who could help me to execute the following code
correctly.
<html>
<head>
<title>Some Title</title>
<script>
win=window.open('',null,'height=300,width=700');
var doc=win.document.open('text/html','replace');
doc.writeln('<html>');
doc.writeln('<head>');
doc.writeln('<script>');
doc.writeln('alert(\'This is a line\');');
doc.writeln('</script>');
doc.writeln('<body>');
doc.writeln('Hai! How are you doing?');
doc.writeln('</body>');
doc.writeln('</html>');
</script></head></html>
Is there any one who could help me to execute the following code
correctly.
<html>
<head>
<title>Some Title</title>
<script>
win=window.open('',null,'height=300,width=700');
var doc=win.document.open('text/html','replace');
doc.writeln('<html>');
doc.writeln('<head>');
doc.writeln('<script>');
doc.writeln('alert(\'This is a line\');');
doc.writeln('</script>');
doc.writeln('<body>');
doc.writeln('Hai! How are you doing?');
doc.writeln('</body>');
doc.writeln('</html>');
</script></head></html>