G
Gerard Ketuma
So i have studied the DOM level 2 event handlers and have written some
nifty functions to take care of the browser incompatibilities with
this model. However, I feel like working with the traditional way of
handling events, where we assign functions to the event handler
property, is way easier and makes my code easy to follow. I know there
are all these benefits to using level 2 event handlers, like making
the code modular, making it easier for two or more people to handle
the same event. My question is, which of these models do you
frequently use? and why?
nifty functions to take care of the browser incompatibilities with
this model. However, I feel like working with the traditional way of
handling events, where we assign functions to the event handler
property, is way easier and makes my code easy to follow. I know there
are all these benefits to using level 2 event handlers, like making
the code modular, making it easier for two or more people to handle
the same event. My question is, which of these models do you
frequently use? and why?