element.onevent =
  element.attachEvent()       (IE)
  element.addEventListener()   (everything else including IE9 and above)