jQuery blur handler not working on div element?
问题 I don't understand why the jQuery blur handler isn't working in the most simple case. I'm literally creating a div 100px by 100px and setting a blur event on it, but it's not firing (JSFiddle): <div id="test">this is a test</div> $(document).ready(function() { $('#test').bind('blur', function() { alert('blur event!'); }); }); Is my understanding of blur wrong? I expect the blur event to fire when I click anywhere that is not the div...right? According to jQuery's documentation: In recent