I\'m using datepicker inside my input , my last field is the datepicker input , after validating it i want to set focus on another input inside my form , but the problem is
This worked for me:
$("#datepickerTo").datepicker({ onSelect: function () { $(this).off( "focus" ); } });