I\'m writing a form validation script and would like to validate a given field when its onblur event fires. I would also like to use event bubbling so i don\'t have to attac
To use bubbling with onblur event, Then you can use addEventListener() and set the useCapture parameter to false. Like this:
onblur
yourFormInput.addEventListener('blur', yourFunction, false);
Firefox 51 and below do not support the onfocusout event. So don't use onfocusout instead of onblur event.
onfocusout