Return to Snippet

Revision: 31971
at September 16, 2010 17:41 by Eystein


Initial Code
$('ul#tools').prepend('<li class="print"><a href="#">Print page</a></li>');
$('ul#tools li.print a').click(function() {
	window.print();
	return false;
});

Initial URL

                                

Initial Description

                                

Initial Title
Insert 'Print' page link

Initial Tags
javascript, jquery

Initial Language
JavaScript