MouseOut and MouseLeave

These are the 2 different events for mouse out. Although they both works same except mouse leave handles event bubbling. I was confused to see that when I have div with nested div(s) inside master div, mouse out event was not working when it hovers nested div. Mouse Leave event handles this problem and works perfectly. I tested on IE 6  too and it works fine.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.