Hi,
I am using following javascript code to write some content in a window. my problem is content in the document is written twice. can someone please help me how to avoid this.
somewhere I read that I should use document.clear( ) method before using document.write( ) method but I heard that this method is not supported in most of the browsers.
Thanks,
Amit
Thanks,
Amit
I am using following javascript code to write some content in a window. my problem is content in the document is written twice. can someone please help me how to avoid this.
Code:
_newwindow = window.open('',pr_OpenWindows[index].Name,'height=690,width=775,status= no, resizable= no, scrollbars=yes, toolbar=no,location=no,menubar=no,left=' + pr_OpenWindows[index].XPos + ',top=' + pr_OpenWindows[index].YPos); _newwindow.document.write(resText); _newwindow.document.close();
Thanks,
Amit
Thanks,
Amit
Comment