Re: <script> as handler for XML events
Chris Cross <[email protected]> Mon, 17 Jul 2006 10:04:43 -0400
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Message-ID | <[email protected]> |
Jonas Sicking wrote: > > So I suggest that we add a new element, <handler> that can be used as > EventHandler. This would solve the problem of handlers executing during > load. > > Additionally, we could require such elements to implement the > EventListener interface which means that they can be used as > event-handlers even when using the addEventListener function. > > / Jonas > Hi Jonas, <handler> seems to be a reasonable way to go and I would be interested in working on it. Presumably it could inherit much of its behavior from <script>. Can you provide some high level directions for a newbie? chirs