How do I print the indicated div (without manually disabling all other content on the page)?
I want to avoid a new preview dialog, so creating a new window with this
Give whatever element you want to print the id printMe.
printMe
Include this script in your head tag:
Call the function
Print