Skip to content Skip to sidebar Skip to footer

Unable To Print An Iframe On Ie Using Javascript, Prints Parent Page Instead

I have the following JavaScript code: $(document).ready(function() { $('a#print_button').click(function(event) { event.preventDefault(); var print_url = 'print

Solution 1:

I was looking for a solution to print Iframes in Internet Explorer. After hours of search i got the solution. it worked for me. Please check the following link

http://bytes.com/topic/misc/answers/629926-ie7-printing-iframe-solution

document.execCommand('print', false, null);

Post a Comment for "Unable To Print An Iframe On Ie Using Javascript, Prints Parent Page Instead"