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
Step 1: Write the following javascript inside your head tag
Step 2: Call the PrintMe('DivID') function by an onclick event.
here is some text to print inside this div with an id 'divid'