JQuery UI CSS Class effects not working in Chrome

Is it me or not doing any of the jQuery (css) class effects in Google Chrome. I thought it might be my code, but even on the example site, they don't work on my chrome. Other examples work.

http://jqueryui.com/demos/addClass/

thank

+2


source to share


4 answers


This has been confirmed as a bug with webkit based browsers



+2


source


Hmm doesn't work either - I'm running Chrome 3 beta tho. Are you also using beta?



+1


source


This way worked for me:

$('#image-container').attr("style", "width:400px;display:block");

      

+1


source


I pulled out some of my hair already ... before landing on this page. Try to wrap your website code in$(window).load()

$(window).load( function() {
    $('#image-container').css('width', 400);

});

      

It worked for me!

0


source







All Articles