Using firefox 7.0.1 and I'm trying to print multiple element (img tag) from within a loop but only the first one get printed and the iteration stops. In IE, it seems to work.
Here is the relevant code :
[code]
$('#printImage').click(function() {
$("link[media='print']").attr("href", "/css/print.css");
pdfFileNameLst = new Array();
Using firefox 7.0.1 and I'm trying to print multiple element (img tag) from within a loop but only the first one get printed and the iteration stops. In IE, it seems to work.
Here is the relevant code :
[code]
$('#printImage').click(function() { $("link[media='print']").attr("href", "/css/print.css"); pdfFileNameLst = new Array();
[/code]