I have a div, with checkboxes in, which I want to be able to print.
I can open the div, and print, with the following code:
var prtContent = document.getElementById("main");
var WinPrint = window.open('', '', 'letf=0,top=0,width=800,height=900,toolbar=0,scrollbars=0,status=0');
However, all the checkboxes are blank, no matter how many are ticked in the div before pressing the 'print' button I set up.
Also, since this is unstyled, and I have custom checkboxes, how would I go about getting the images to print (if I put the css in, they display on the new window, but if I print the page they are missing?)
Thanks in advance,