Top "Onblur" questions

The blur event fires when an element loses focus.

How to make JSF inputText field upper case on blur

I would like to make a JSF inputText field into upper case when the user moves focus away from the …

jsf jsf-2 uppercase onblur
Problem with jquery blur() event on Div element

I have problem hiding certain popup wich are based on divs. when i click out side those divs they dont …

jquery html onblur
Change an element's onfocus handler with Javascript?

I have a form that has default values describing what should go into the field (replacing a label). When the …

javascript onblur onfocus
How to remove focus from activeElement when changing tabs (onfocus/onblur)?

I'm trying to remove focus from a (jQuery Mobile) text input when a user switches tabs on desktop. While I …

javascript jquery tabs focus onblur
window.onblur not working

I can't seem to get window.onblur to work properly. window.onblur = console.log('blur'); When the listener is applied …

javascript window onblur
tinyMCE blur event

Hello I want to do some stuff when user finished writing in the tinyMCE textarea and click somewhere outside (onBlur). …

javascript jquery tinymce onblur rte
onblur event not working with google chrome

I am trying to use onblur event to close a window. Its working fine in IE, Firefox and safari, but …

google-chrome onblur
Prevent onblur code to execute if clicked on submit button

By the following code I wish to "DO SOMETHING" on "ONBLUR" of element id="eg1" only if the onblur event …

javascript jquery onclick onblur
What is the replacement of jQuery's blur event in AngularJS?

I have to close any opened component when clicking outside of that component using angularjs. Is there an angular directive …

javascript jquery angularjs onblur
jQuery $(window).blur vs native window.onblur

What are the advantages of using jQuery's $(window).blur(function() { ... }) to attach an event handler versus setting it directly with …

javascript jquery blur onblur