Web Application Development
Wednesday, November 24, 2010
popups with window.print on body load event doesn't work in chrome
Issue
:
Popus with <body onload="window.print();window.close()"> doesn't work in chrome.
solution
:
Use
"setTimeout('print()', 1);"
on load event!!
http://groups.google.com/a/chromium.org/group/chromium-bugs/msg/ff8e015c44d28643
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment