Monday, November 16, 2009

[jQuery] Re: Is mouse inside a div?

You can attach the mouseenter event to the div like this:
$('div').mouseenter(function() { // Do stuff });

Documentation is at http://docs.jquery.com/Events/mouseenter

On Nov 15, 3:30 pm, Tom Lobato <tomlob...@gmail.com> wrote:
>   Hi,
>   in first, these days I started to play with jquery and I`m
> impressed, excellent library!
>   Well, I already done some cool things, but I can`t find
> how to check wheter the mouse pointer is inside a div.
>   Any hints?
>
>   Thank you!

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate