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:

  onClick="parent.framename.print()"> 
Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: