dalizard
dalizard

Reputation: 471

Internet Explorer/jQuery focus problem

If you open the following url in Internet Explorer (IE6/7/8) and hover over the "Find Portrait" link a popup shows up. When you try to select a value from the month or year dropdown, Internet Explorer loses focus and the popup closes. It shouldn't close. This happens only in Internet Explorer. jQuery v.1.3.2 is used for the events handling. Any suggestions about this problem? Thank you!

Upvotes: 0

Views: 1960

Answers (2)

Seb
Seb

Reputation: 25157

Your problem is that you're using mouseover and mouseout functions. Try using hover() instead, that should consider nested elements for you.

The problem is that when you hover the SELECT element, actually your "leaving" your bubble, and it's closed.

As I said, use hover() instead.

Upvotes: 1

mkoryak
mkoryak

Reputation: 57998

on the mouseout handler, do not hide the box before checking a flag. set the flag when you mouse over the date picker, and unset it when you mouseout.

Upvotes: 0

Related Questions