Need to print an HTML string
I'm working with the Google Web Toolkit and I need to be able to print a specific panel (not the whole window) when the user clicks on the print button. I am able to set a variable containing the entire panel as an HTML string and what I need to figure out is how to send it to a printer, not as a string of HTML, but rather the panel that the HTML would render.
Is that even possible?
open a new window, document.write the innerHTML string, call print from the new window.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)