HELP~~jQuery Star Rating System question


#1

// hey guys, I NEED SOME HELP DESPERATELY~
The following code is for a Star Rating System, and I have come up with most parts, but I can’t make after mouseout function to stay the click result~ I really need some help~~~
$(function(){
$(’#rating-container’).children().mouseover(function(){
$(’#rating-container’).children().addClass(‘rating-hover’);
$(this).nextAll().removeClass(‘rating-hover’);
})
$(’#rating-container’).children().click(function(){
$(’#rating-container’).children().addClass(‘rating-chosen’);
$(this).nextAll().removeClass(‘rating-chosen’);
})
$(’#rating-container’).children().mouseover(function(){
$(’#rating-container’).children().removeClass(‘rating-chosen’);
})
$(’#rating-container’).children().mouseout(function(){
???
})
})


#2

hey, guys, I have solved my problem, however, I am learning jQuery right now, if there is anybody who is learning it as well, I hope to make friends with your guys~Once again, thank you for your attention~