Printing

They have: 5,633 posts

Joined: Jan 1970

How to print a particular frame from javascript. Is there any error in the following script.

<script language="JavaScript"><\/form>');
}
//--></script>

My intention is to print a particular frame in a page. For that i used above scripting. What it supposed to do is to print all the frames in current page. If u want to test put comments for where.print() and uncomment next line.
But when i use this script it is printing the same frame repaetedly.

if we use window.print() its opens new window. Can i hide the newly created window. if so send me the script.