Form JavaScript Tutorial

The onBlur event handler is fired when the focus is moved away from that particular submit button.