I\'m trying to print a page using this code
I moved the window.print() command on the pop up window it self so it can load the jquery function first before printing.
This is the line that I added.
mywindow.document.write('