Geekpedia Programming Tutorials






How to pop up the Print dialog from a web page

On Friday, November 2nd 2007 at 02:00 AM
By Andrew Pociu (View Profile)
*----   (Rated 1 with 1 votes)
Advertisement
More JavaScript Resources
You can very easily pop up the Print dialog using a JavaScript call to a function. The following code works in all major browsers, including Internet Explorer and Firefox:

<a href="#" onclick="window.print();">Print this</a>
Digg Digg It!     Del.icio.us Del.icio.us     Reddit Reddit     StumbleUpon StumbleIt     Newsvine Newsvine     Furl Furl     BlinkList BlinkList

Rate Rate this Knowledge Base article
Comment Current Comments
by 47847 on Saturday, April 12th 2008 at 06:14 PM

8asdhajklsd

by norhafilah on Friday, March 27th 2009 at 01:57 AM

how to make a print button without popUP Page


Comment Comment on this Knowledge Base article
Name: Email:
Message:
Knowledge Base Related Knowledge Base Articles
There are no related KB articles.

Comment Related Source Code
There is no related code.

Comment Related Tutorials
There are no related tutorials.

Jobs JavaScript Job Search
My skills include:

Enter a City:

Select a State:


Advanced Search >>
Latest Tech Bargains

Advertisement

Free Magazine Subscriptions

Today's Pictures

Today's Video

Other Resources

Latest Download

Latest Icons