jquery not printing the image in IE 6

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pradeepjain
    Contributor
    • Jul 2007
    • 563

    #1

    jquery not printing the image in IE 6

    Code:
    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 ?
  • Mayur2007
    New Member
    • Aug 2007
    • 67

    #2
    Hello,

    Try using full path of the image and anchor tag.
    like <a href="http://www.google.com" ><img src="http://www.yoursite.co m/directoryname/imagename" /></a>

    Hope this will help you..

    Thanks & Regards,
    Mayur Bhayani

    Comment

    Working...