window.print(); is not working in Safari Browser Windows XP

 

 

=================

I have tried like this..
function fnPrint()
   {
    document.getElementById('print').style.visibility='hidden';
    window.all.print();
    document.getElementById('print').style.visibility='visible';
}
and also tried with this
self.print();
and also tried with this....
this.window.print();
not working with this three scenarios..

=================

type javascript directly into safari's URL bar [and then hit 'return'] to try it out. all these did not work:




Open js debug. And there were not any exceptions.

=================

 

REF:

http://www.appletalker.com/forum/index.php?req=thread&id=949

http://www.boutell.com/newfaq/creating/printbutton.html

你可能感兴趣的:(window.print())