beedie
06-23-2008, 11:49 AM
I am using this function to open a window and print the contents of the file.:
function printit()
{
var a = window.open('draft.php','draft','width=550,height=600');
a.print();
}
The window opens fine and opens the print window but returns a print error saying 'the page was replaced while trying to print' when I click print. Any ideas?
function printit()
{
var a = window.open('draft.php','draft','width=550,height=600');
a.print();
}
The window opens fine and opens the print window but returns a print error saying 'the page was replaced while trying to print' when I click print. Any ideas?