Print the Frame From JavaScript

Print the Frame From JavaScript

You can print the entire document from the JavaScript using Parent.Print() function. Similarly, to print a frame from JavaScript, you can use parent.framename.print() in the code. For example, this code snippet can be used to print the frame, specified in the framename in bold, on the click event:



Share the Post: