onclick is supported fine. "submit" is not a property of <div> or <span>, though, and the scope chain changed in 1.7....
(In reply to comment #1) > onclick is supported fine. "submit" is not a property of <div> or <span>, > though, and the scope chain changed in 1.7.... I just tested it again <div onclick="alert();"> content </div> does not work. Any idea how the scope chain changed in 1.7
> Any idea how the scope chain changed in 1.7 We no longer try to look up identifiers in the scope of every ancestor of the event target.
Marking this INVALID, as per comment #3.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.