Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
Liutauras Vilda
Jeanne Boyarsky
paul wheaton
Sheriffs:
Ron McLeod
Devaka Cooray
Henry Wong
Saloon Keepers:
Tim Holloway
Stephan van Hulst
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Frits Walraven
Forum:
HTML Pages with CSS and JavaScript
window.print()
Sophia Choi
Ranch Hand
Posts: 106
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I want to write a function to print the current window.But the error states that the object does not support this property.What is wrong ?
I only write a button and call window.print()
Eric Pascarello
author
Posts: 15385
6
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
the p in print has to be lowercase
<input type="button" value="Print Page" name="Button" onclick="window.print()">
Did you ever grow anything in the garden of your mind? - Fred Rogers. Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
printing
adding a page link to a js print page
call Javascript function from jsp page.
jsp/servlet automatically print to non local printer
Printing Crystal Rpt on client side in ASP pg
More...