Today i came across [this][1] question from this [google search][2].

The title of the question is:

> Set class with jquery?

The body contains lots of code and says:

> When the panel is hidden and we press the div button(extraFilterDropDownButton) the upper left part of the page will flicker and then the panel will be animated down.

>When the panel is shown and we press the div button the panel will hide('slow'), but the button will not change to the correct class even when we set it in the UpdateFilterView script?

Note that the question doesn't contains the `CSS` required to reproduce this.

The [accepted answer][3] from the asker itself is:

> I ended upp with somthing like this :
> 
    $(this).live('mouseover',function(){
       //something to do when mouse over
    });


From what i understood, probably the askers problem was that he was generating the `HTML` elements which he never mentioned anywhere in the question, and the code does not include such code segments as well.


This is a *famous* question which is likely to be viewed by many jQuery beginners. But mismatch between the title and accepted answer will be confusing as well as the amount of text is sort of *useless* - it doesn't help to arrive at the accepted answer at all.


so if i'm to edit the question, i'll change the title to something specific (*local*) like 

> Unable to set the class on hover

Indicating it is more specific to the asker rather than a general *Set class with jquery* question.

What is the right thing to do with such a *famous* question..?

Edit? Vote to Close..? something else..?


  [1]: http://stackoverflow.com/questions/5205052/set-class-with-jquery
  [2]: https://www.google.com/search?q=how%20to%20add%20a%20class%20using%20jquery&oq=how%20to%20add%20a%20class%20using%20jquery&aqs=chrome..69i57.7084j0j7&sourceid=chrome&es_sm=122&ie=UTF-8
  [3]: http://stackoverflow.com/a/5271137/2333214