Skip to content Skip to sidebar Skip to footer

Jquery Focus After Submit On Last Input Field Edited

On jQuery keyup on two IDs a function is executed. $('#supplier_name').keyup(function(){ clearTimeout(typingTimer); if ($('#supplier_name').val) { typingTimer = set

Solution 1:

The solution to the above problem was to create an object to use focus() and to add the jQquery cookie plug-in.

The change is below: "$.cookie("inputFocus").focus();" to "$($.cookie("inputFocus")).focus()"

Added the below code to the page: ""

Post a Comment for "Jquery Focus After Submit On Last Input Field Edited"