I have a series of input fields and I want the focus to jump to the next field whenever the text of the current field has been change. My code looks like this:
inputs.change(function(){
$(this).nextAll('input:first').focus();
})
jsfiddle : http://jsfiddle.net/x6aqt/1/
Problem is that the script seems to be triggering the on blur event and not the on change event which kind of defeats the purpose. Is there anyway to make work as intended?