On Hover add and Remove a class

    [javascript]
    $(‘.onhover’).hover(
    function(){ $(this).addClass(‘hover_style_class’) },
    function(){ $(this).removeClass(‘hover_style_class’) }
    )
    [/javascript]

    Leave a Reply