• posted 2½ years ago

    Mootools caveat: event.target is not extended by $

    mootools_logoThis took me way too long to discover:
    When using event.target via mootools event handlers, I figured out, after way too much testing, that event.target is NOT extended via $, and therefore doesn't have accessors like .get('tag') and default's for the $ (dollar sign extension).
    read