One advantage is that I want some objects in the body (or other elements) to respond to events without having to write them one by one. Just write one on the outer layer and check whether or not other attributes are what you want to decide whether to respond to events. However, it doesn't seem to work in ff.
for example
span
The event object refers to the currently triggered event object, which refers to the object that triggers the event. For example, if you set = myfunc; at this time, all page click events will be handed over to myfunc for processing. In the myfunc function, you can write vSrc = to know where the user clicked and do the corresponding processing. You find an HTML file and add this paragraph to it:
Just try it out.void(0) is a function that does nothing.