Last active
December 13, 2015 16:59
-
-
Save stubotnik/4944088 to your computer and use it in GitHub Desktop.
Auto-populate sign-up. Zh edition.
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
(function(){ | |
$("#accName").val("ZhTst" + Math.round(Math.random() * 1000000)); | |
$("#pwd, #pwdConfirm").val("ZhTest1234"); | |
$("#securityQuestionID")[0].selectedIndex=1; | |
$("#securityAnswer").val("櫧櫋瀩櫧櫋瀩"); | |
$("#firstName").val("鶷鷇鶾"); | |
$("#lastName").val("晛桼桾潧潧"); | |
$("#genderMale").attr("checked", true); | |
$("#birthMonth, #birthDate, #birthYear").each(function(){this.selectedIndex=1;}); | |
$("#state, #city").each(function(){this.selectedIndex=1;}); | |
$("#email, #emailConfirm").val("user" + Math.round(Math.random() * 1000000) + "@example.com"); | |
$("#phone").val("123456789"); | |
$("#messengerTypeID")[0].selectedIndex=1;; | |
$("#messengerID").val("鮂鮐嚃鮂鮐嚃"); | |
$("#termsCheck").attr("checked", true); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment