Created
May 9, 2014 08:34
-
-
Save WaseemTheDream/c9e70a97ad9dc70a9376 to your computer and use it in GitHub Desktop.
nslds.ed.gov pin selector for Chrome, Firefox, and Safari because the UI doesn't work
This file contains hidden or 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
var setPin = function(digits) { | |
for (var i in digits) { | |
document.getElementById("yin"+i).value = digits[i]; | |
} | |
}; | |
setPin([1,2,3,4]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment