E
e
IE6. I have a 'print' image, and the following js:
document.Form2.imgPrintAll.onclick = function printAll()
{
toPrint.innerHTML = document.getElementById('lblReportCache').innerHTML;
window.print();
}
This executes without error, and the innerHTML is being changed properly,
and I can put an alert in there that fires as expected. The window.print();
line simply does absolutely nothing. No error, no dialog pops up, nothing
prints. What's going on?
document.Form2.imgPrintAll.onclick = function printAll()
{
toPrint.innerHTML = document.getElementById('lblReportCache').innerHTML;
window.print();
}
This executes without error, and the innerHTML is being changed properly,
and I can put an alert in there that fires as expected. The window.print();
line simply does absolutely nothing. No error, no dialog pops up, nothing
prints. What's going on?