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
hm ... use the type of a stylsheet for printing ... eg:
print.css:
div { display: none; } #yourdiv { display: block; }