jQuery Plugin for autotab Usage $("some selector for input elements").autotab(); The input elements which do not have maxLength attribute will be ignored.