Javascript problem

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?
 
G

Guest

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?
 
G

Guest

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?
 
G

Guest

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top