what's the difference between the four event targets - Mozilla

This is a discussion on what's the difference between the four event targets - Mozilla ; event.target event.currentTarget event.originalTarget event.explicitOriginalTarget -------------------------------------------------- most time the top 3 are equal, sometime all of them are equal, i have read the mozill DOM Ref, i have google it, but i still couldn't understand it. please explain it with some ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: what's the difference between the four event targets

  1. what's the difference between the four event targets

    event.target
    event.currentTarget
    event.originalTarget
    event.explicitOriginalTarget
    --------------------------------------------------
    most time the top 3 are equal, sometime all of them are equal, i have
    read the mozill DOM Ref, i have google it, but i still couldn't
    understand it.
    please explain it with some simple examples.
    especially, why event.explicitOriginalTarget == event.target, it would
    be an **explicit** original target

    regards,
    Gucci Koo


  2. Re: what's the difference between the four event targets

    Gucci wrote:
    > event.target
    > event.currentTarget
    > event.originalTarget
    > event.explicitOriginalTarget
    > --------------------------------------------------
    > most time the top 3 are equal, sometime all of them are equal, i have
    > read the mozill DOM Ref, i have google it, but i still couldn't
    > understand it.
    > please explain it with some simple examples.
    > especially, why event.explicitOriginalTarget == event.target, it would
    > be an **explicit** original target
    >
    > regards,
    > Gucci Koo
    >


    This newsgroup is for support about "using Firefox" (to browse existing
    pages). You might find better and more to-the-point help by asking in some
    more specialized NG such as one in the mozilla.dev.* series.


    Best regards,
    Tony.

+ Reply to Thread