jQuery fadeTo not working in IE8
        Posted  
        
            by 
                Lynda
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Lynda
        
        
        
        Published on 2012-07-09T02:58:56Z
        Indexed on 
            2012/07/09
            3:15 UTC
        
        
        Read the original article
        Hit count: 249
        
I have a div fading in using fadeTo. It works great in Firefox and IE9. It does not work in IE8. Here is my code: 
JS:
var $j = jQuery.noConflict();
    window.onload = function(){ 
    $j('#fadein').fadeTo(6000, 1, function() {
  });       
};
HTML
<div class="img-center" id="fadein" style="opacity:0;">
<img src="src.jpg" alt="Text" class="feature-image" />
</div>
How do I get this to work in IE8?  I do not mind changing from fadeTo to fadeIn or some other method of fading in a div as long as it works in IE8. 
© Stack Overflow or respective owner