C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




How to print HTML page


Posted Date: 20 Aug 2008    Resource Type: Code Snippets    Category: Javascript
Author: UnlikeOthersMember Level: Silver    
Rating: Points: 5



This javascript code sample shows how to print an HTML web page.


<!-- Begin
If (window.print) {
document.write('<form>Do not forget to '
+ '<input type=button name=print value="Print" '
+ 'onClick="javascript:window.print()"> this page!</form>');
}
// End -->




Responses

Author: Raghav    21 Aug 2008Member Level: Gold   Points : 1
Good Article UnlikeOthers. Keep it up. Keep on participating actively in the forums and answers.

Raghav


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Print HTML page  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Return to login page when the session times out
Previous Resource: Automatically scroll web page using Javascript
Return to Discussion Resource Index
Post New Resource
Category: Javascript


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use