Last active
April 16, 2018 13:47
-
-
Save jrevillini/d03e6f666e4a1a8bf1451bfc9caca369 to your computer and use it in GitHub Desktop.
Auto-focus username field for Wordpress Plugin Login With Ajax
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ------------------ AUTOFOCUS ON USERNAME FIELD WHEN SIGNING IN | |
$(document).on('click', '.lwa-links-modal', function(e){ | |
$('#lwa_user_login').focus(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment