Javascript problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello All,

I am trying to offer "Print" functionality using an HTML button with the
help of "window.print()"

This button works fine in Firefox but not in IE7. I am dumping the entire
content of the page which has this HTML button code onto a different page
using document.write. Everything else works fine except for this print
button. I have a close button using "window.close" that works fine but not
this print button.

Any ideas or suggestions?
 
Diffident said:
Hello All,

I am trying to offer "Print" functionality using an HTML button with the
help of "window.print()"

This button works fine in Firefox but not in IE7. I am dumping the entire
content of the page which has this HTML button code onto a different page
using document.write. Everything else works fine except for this print
button. I have a close button using "window.close" that works fine but not
this print button.

Any ideas or suggestions?

Standard question #1:
What do you mean by "not working"?

Standard question #2:
What error message do you get?
 
Usually, when the window.print works properly, it should display the "print"
screen in a window using which you can print the documentusing the default
printer. It is not displaying that window in my case. And, I am not getting
any javascript error. It does nothing. However, it works fine in firefox.

Any pointers?
 
"Nothing" rarely ever happens. Have you enabled Javascript error
messages in the browser? Otherwise it will only show up in the status bar.
 
Back
Top