|
Hello, I have this functions which opens a new window. The function works fine if lines 6 and 7 are omitted. But those lines are important for the next processes so I cant just erase it. Somebody help. It's been almost 1 day. 1 function test() 2 { winReport=window.open('','winReport','width=900,height=500,left=50,top=100, menubar=0,toolbar=0,status=0,scrollbars=1,resizable=0,_title_bar=0'); 3 4 winReport.document.write('<html'); 5 winReport.document.write('<head'); 6 winReport.document.writeln('<_script_ language=_java_script__ src= ..js format.js </_script_'); 7 winReport.document.writeln('<_script_ language=_java_script__ src= ..js utility.js </_script_'); 8 winReport.document.writeln('<_title_Testing</_title_'); 9 winReport.document.writeln('<_meta_ http-equiv= Content-Type content= text/html; charset=iso-8859-1 '); 10 winReport.document.writeln('</head'); ................................ }
|