Tattat
Tattat

Reputation: 15778

What event will fire if the textarea not being focus?

Is there any event will fire if the textarea is not focus anymore?

Upvotes: 1

Views: 1814

Answers (2)

Stephan Muller
Stephan Muller

Reputation: 27600

That would be the blur, which is the opposite of focus.

Upvotes: 1

hvgotcodes
hvgotcodes

Reputation: 120188

onblur i think fires on an element that loses focus. Check this out

http://www.w3schools.com/jsref/event_onblur.asp

Upvotes: 4

Related Questions