I would like to keep the cursor in an input field after a change. I tried the following, but it doesn't work. The change even is activated, and "do stuff" works, but the focus does not go back to the input field. Does anyone have suggestions?
$(function() { $(":input).change(function() { // Do stuff $(this).focus(); }); });