"fadeTo( )" Doesn't Work


#1

I am having some troubl,e with setting the Opaci ty in the fadeTo() method. If I want 100% opacity then I have read that I should specify a "1" after the effect speed but it doesn't work in the codeacademy exercises! Can someone please help me with this? Thanx.

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


#2

All the code should be inside the ready handler.

$(document).ready(function() {


});

#3

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