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
If you only want to print this div, you must use the instruction:
@media print{ *{display:none;} #mydiv{display:block;} }