| Author |
window.print() not working IE
|
selvakumar Thiyagarajan
Greenhorn
Joined: Oct 06, 2008
Posts: 28
|
|
Hi all,
The attached code is not working properly in IE. Printer window is not getting opened if i open in IE. But it works fine, in MOZILLA. Please advice on this.
HTML
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56191
|
|
|
Do you really not indent your code?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
selvakumar Thiyagarajan
Greenhorn
Joined: Oct 06, 2008
Posts: 28
|
|
|
yes. any issues? i couldnt find answer. still struggling on this.
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
well I do not see an x.document.close()
Eric
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56191
|
|
selvakumar Thiyagarajan wrote:yes. any issues?
Yes, unindented code is hard to inspect. Here's a helpful hint: if you want people to spend time helping you, making it hard for them to do so isn't the best of approaches.
|
 |
selvakumar Thiyagarajan
Greenhorn
Joined: Oct 06, 2008
Posts: 28
|
|
Eric Pascarello wrote:well I do not see an x.document.close()
Eric
Thanks Eric. It worked after inserting x.document.close()
Code:
|
 |
 |
|
|
subject: window.print() not working IE
|
|
|