+ 1
What is the purpose of onBlur() and onClick() events in javascript?
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."
+ 7
good question
+ 5
it's new information for me to @seamiki
+ 3
I had no idea the onblur event even existed!!!
Good to know!