Javascript UniversalAddEvent

After looking for an universal way to add event (support any browser), I fall on this :

I have changed it a little to support JSLint for my project, and simplify the call.

This is the full source :

To use it, you can just do this :



Short URL: