javascript - printing multiple images on clicking a button -


i have print button prints images individually, used media print() , windows.print()

    <style type="text/css"> @media print { * { display:none; } .printme { display:block } } </style> 

javascript

    $('.printme').click(function() {      window.print();       return false;     }); 

html

   <li id="outprint"><a href="#">    <img src="jqe13/image/print.png" class="printme" alt="print" title="print"></a></li> 

here images in li dynamically generated..for individual images i've done this.. functions use if need print images clicking printall button can help?


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -