Hello All,
I am dumping the HTML content of a page using document.write. As part of
this HTML code, I have an input "Print" button which does nothing but calling
the window.print
Window.print is working in the firefox browser by displaying the printer
window where user all he has to do is click on "Print" However, when I click
on the print button from Internet Explorer 7.0 nothing happens. It does not
get me the printer window.
What do you folks think is the problem? Do I need to modify any security
settings in IE7.0?
Thanks a lot!!
On May 30, 11:28 pm, Diffident <Diffid
@discussions.microsoft.com>
wrote:
> Hello All,
> I am dumping the HTML content of a page using document.write. As part of
> this HTML code, I have an input "Print" button which does nothing but calling
> the window.print
> Window.print is working in the firefox browser by displaying the printer
> window where user all he has to do is click on "Print" However, when I click
> on the print button from Internet Explorer 7.0 nothing happens. It does not
> get me the printer window.
> What do you folks think is the problem? Do I need to modify any security
> settings in IE7.0?
> Thanks a lot!!
I think you have a problem in the code. window.print() should work in
IE
Just try it
<a href="javascript:window.print()">Print</a>