+ 1

What is the purpose of onBlur() and onClick() events in javascript?

9th May 2017, 6:31 PM
Ganesh Prasad
Ganesh Prasad - avatar
4 odpowiedzi
+ 10
https://www.w3schools.com/jsref/event_onblur.asp from the page: 1) "Execute a JavaScript when a user leaves an input field" 2) "The onblur event occurs when an object loses focus. The onblur event is most often used with form validation code (e.g. when the user leaves a form field). Tip: The onblur event is the opposite of the onfocus event."
9th May 2017, 6:43 PM
Burey
Burey - avatar
+ 7
good question
9th May 2017, 11:26 PM
NimWing Yuan
NimWing Yuan - avatar
+ 5
it's new information for me to @seamiki
9th May 2017, 9:49 PM
Burey
Burey - avatar
+ 3
I had no idea the onblur event even existed!!! Good to know!
9th May 2017, 7:05 PM
seamiki
seamiki - avatar