Hacker
Hacker

Reputation: 7906

jquery not printing the image in IE 6

if(count > 0){
for(var i= parseInt(start); i < parseInt(count); i++)
{

link ='<a href="/diabetes/ropimages/origpicdisplay.php?pid='+pid+'&rid='+i+'" target="_blank"><img src="/diabetes/ropimages/thumbpicdisplay.php?pid='+pid+'&rid='+i+'"/><a>&nbsp;&nbsp;';

if(i > start){ $("#content1").append(link);}

else{ $("#content1").empty().html(link);}
}
}

i use code like this. it does print images in FF but not in IE6 any solutions for this ?

Upvotes: 0

Views: 123

Answers (1)

o15a3d4l11s2
o15a3d4l11s2

Reputation: 4059

If you are using $(document).ready, as far as I remember it has some issues with IE6, so try to put it at the bottom.

Upvotes: 1

Related Questions