Brice Burgess wrote:
>   I'd like to find out if I can examine current focus. Doing a little 
> research brought me to
>
> window.event.srcElement
>
>   However it seems to be IE proprietary?
>   
I did a little more research & found

http://www.permadi.com/tutorial/cssGetElementUnderMouse/index.html

I can likely examine the calls using .srcElement (IE)  and .target (not 
IE) & passing the event data along.

Something along the lines of;

$().bind('keypress', { }, h).bind('keydown', { }, h).bind('mousedown', { }, h);
var h = function(event) { 
  element = ([IF IE]) ? event.srcElement : event.target;
  return ([ELEMENT INSIDE MODAL]) ? true : false;
};

~ Brice




_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to