Bug Tracker

Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#1754 closed bug (invalid)

g has no properties - @ line 1918

Reported by: threedot1 Owned by:
Priority: major Milestone: 1.2.2
Component: event Version: 1.2.1
Keywords: g has no properties firefox 2007 Cc:
Blocked by: Blocking:



$('body > div').hover(function(){

alert('threedot is googleman');



Change History (2)

comment:1 Changed 15 years ago by davidserduke

the function hover() needs two parameters. The first is called when the mouse is over the hover object and the second is called when the mouse leaves it.

  $('body > div').hover(function(){ 
    alert('entered the hover object); 
  }, function (){
    alert('left the hover object);

I don't believe this is a bug unless you have additional information.

comment:2 Changed 15 years ago by brandon

Resolution: invalid
Status: newclosed

As David mentioned, the hover helper takes two methods.


Note: See TracTickets for help on using tickets.