I have implemented an auto-save feature for an end user (as per this post https://community.skuid.com/t/auto-save-w24gp), but the thing that is a bit of a showstopper at the moment is that after a save, the focus is removed from the field the user was in. This could be quite annoying đ So I was wondering if there is a solution to set focus to a specific field, based on a variable, after the save - this is my non-working solution so far: //Get the current field var foc = $(document.activeElement); //Do the save âŚe.g. skuid.model.save //Set the focus $(foc).focus()
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.