This is an example of a JS programme that will display JS events,
Option 1: onFocus:
Option 2: onblur:
Option 3: onblur: