Hi,

I'm looking for a way to find out the currently focused element from within a blur event. I have it working in Firefox using event.explicitOriginalTarget as you can see here:

http://kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerOnFocus.html

However, this seems to be a Firefox only property on the event so is no good to me for IE or Safari :(

As you can see, what I am trying to do is on blur of the input check if the now focused element is in the popped up calendar or not. If it is in the calendar then leave the calendar there, otherwise remove it.

Is there a way to do this?

Thanks in advance,

Kelvin :)

Reply via email to