I learned that explicitOriginalTarget is a Mozilla specific property:
http://developer.mozilla.org/en/DOM/event.explicitOriginalTarget .

Is there any other property or a way that gives me in all browsers
what explicitOriginalTarget gives in Firefox?

On Oct 7, 10:41 am, matte <[EMAIL PROTECTED]> wrote:
> Autocompleter.Base.prototype.onBlur =
> Autocompleter.Base.prototype.onBlur.wrap(
>                 function(origfunc, ev) {
>                         if ($(this.options.ignoreBlurEventElement)) {
>                                 if (!ev.explicitOriginalTarget.descendantOf($
> (this.options.ignoreBlurEventElement))) {
>                                         return origfunc(ev);
>                                 }
>                         }
>                 }
>         );
>
> I am trying to make Autocompleter ignore blurring if a specific
> element clicked. This works perfect in Firefox but not in Safari. The
> problem is with, as I've said before, explicitOriginalTarget property.
>
> On Oct 7, 10:23 am, matte <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > In firefox, explicitOriginalTarget property of blur event gives me the
> > element of event that caused blur. But in Safari,
> > explicitOriginalTarget gives null. Is there a way that I can find what
> > element of event caused the blur in all browsers?
>
> > Thanks.
> > MH.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to