javascript - Jquery Focusing another element on blur is not working in FireFox -


i trying focus input element on 1 input`s blur event. not working.

<input type="text"/> <input type="text"/>   $("input:last").on("blur",function(e){    $("input:first").focus(); }) 

the cursor not present in element. not able type anything.

http://jsfiddle.net/7foref2g/

unfortunately can't make work ff. see jquery bug ticket firefox focus , blur events not firing when calling focus() , blur() , firefox 1 bug 53579 - calling this.blur() in onfocus handler or this.focus() in onblur handler not work


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -