internet explorer 8 - jquery selector not working in IE8 -


i have problem have skin site without being able change html.

as result, i'm having things js wouldn't do. part of have move "default" image new position. works on browsers, including ie7, except ie8. ideas?

$(".carouselthumbwrap.carouselselected").animate({ margintop: hoverypos }, 1); 

the html looks this:

<li asseturl="art.png" class="carouselthumbwrap carouselselected" assettype="image">blah</li> 

the thing can think have race situation. carouselselected assigned widget or can't change , must not have appeared time document.ready function has run. ideas? missing something?

turns out race situation , fixed it:

$($(".carouselthumbwrap")[0]).addclass("carouselselected"); 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -