[UPHPU] jquery: hover(over,out)

Richard K Miller richardkmiller at gmail.com
Mon Dec 8 23:12:42 MST 2008


> function banana() {
> 	alert('banana function called');
> }
>
> $('tr').hover(banana(), banana());
>
>
> …does not?

Does this work?

$('tr').hover(banana, banana);

This passes the functions themselves instead of the values that the  
functions returned.





More information about the UPHPU mailing list