As already mentioned you should try using the .hover() method. You can
find the docs for it here:
http://jquery.bassistance.de/api-browser/#hoverFunctionFunction
--
Brandon Aaron
On 3/14/07, Daniel Hofstetter <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Somehow I can't figure out how to bind a hover event to an element. At
> the moment I am using the following workaround:
>
> $(this).bind('mouseover', functionA);
> $(this).bind('mouseout', functionB);
>
> But that's not that elegant imho. So, does someone know a better solution?
>
> Thanks,
> daniel
>
> --
> Daniel Hofstetter
> http://cakebaker.42dh.com
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/