Created
June 3, 2013 11:24
-
-
Save jhammann/5697539 to your computer and use it in GitHub Desktop.
A javascript function to focus on an input field when a checkbox or radio button is changed (checked).
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
$('input#radio').change(function(){ | |
$("input#amountInput").focus(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment