DEV Community

Discussion on: A Detailed Breakdown of HTML Form Event Attributes

Collapse
 
lexlohr profile image
Alex Lohr

You cannot have multiple events then. If you set the DOM level 1 event after a UI Event, the latter will be overwritten. You don't get access to the event object. Finally, you either need to add JS code directly to the HTML or have global variables lying around, which is a bad idea either way.