Why the opacity doesn't change


#1

I did as told, but when I moved my mouse over the button, the opacity didn't change...I didn't know why


$(document).ready(function(){
    $('div').mouseenter(function(){
        $('div').fadeTo('fast',1);
    });
    $('div').mouseleave(function(){
        $('div').fadeTo('fast', 0.5);
    });
});


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.