Remove second class from an element and add another class
- by rahul
Hi,
$(document).ready ( function () {
$(".MenuItem").mouseover ( function () {
// Remove second class and add another class [ Maintain MenuItem class ]
// Eg: For div1 remove Sprite1 and then add Sprite1Dis and for div2
// remove Sprite2 and add Spprite2Dis
});
$(".MenuItem").mouseout ( function () {
…