I want to be able to just add a class called selected to the menu-button I think it's my css thats causing the problem this is what I have.
$('menu-button').addClass('selected');
div.mybutton {
}
div.mybutton .selected{
background-color:#ff9900
}
My menu button also has children and I want to add a class called "selected" to the siblings. If i can do it this way it would be better than writing out seperate lines for each class name like "menu-button-over" where it could just be one "selected" i hope you can do it the way I want it to do but im sure its my css
menu-buttonis a different object thanmybutton?