Development test, often need to fill in the name, mobile phone number, ID card number, bank card number, both in line with the format requirements, and can not repeat. People will search the internet for all kinds of generators.
The following small series of their own write a JS generator code. Randomly generated name, mobile phone number, ID card number, bank card number of the JS code.
function GetName () {var familynames = new Array ("Zhao", "Money", "Sun", "Li", "Zhou", "WU", "Zheng", "Wang", "Feng", "Chen", "Chu", "Wei", "Chiang", "Shen", " Han "," Yang "," Zhu "," Qin "," especially "," Xu "," Ho "," Lu "," Shi "," Zhang "," Hole "," Cao "," Yan "," Hua "," Jin "," Wei "," Tao "," Ginger "," qi "," Xie "," Zou "," Yu "," Bai "," Water "," sinus "," chapter "," Cloud "," Sue "," Pan "," GE "," Xi "," fan "," Peng "," Lang "," Lu "," Wei "," Chang "," Ma "," Miao "," Feng "," Flowers "," Fang "," Yu "," Ren "," Yuan "," Liu "," Feng "," Bao "," history " , "Tang", "Fei", "Lian", "cen", "Xue", "Lei", "he", "ni", "Soup", "teng", "Yin", "Luo", "bi", "Hao", "WU", "Ann", "Chang", "le", "in", "when", "Fu", "Skin", "Bian", "Qi",
"Kang", "WU", "Yu", "Yuan", "bu", "gu", "Meng", "ping", "Huang", "and", "Mu", "Xiao", "Yin"); var givennames = new Array ("Zi Xuan", "Miao", "Guodong", "Master," Reidon "," Sweet "," min "," Shang "," Guo Yin "," Hexiang "," Chen Tao "," Hao Xuan "," Yi Xuan "," Yi Chen "," Yi Fan "," Yi Ran "," Jin Chun, "Jin Kun", "Chun Qi", "Yang", "Wen Hao", "Dongdong", "Male Lin", "Hao Morning", "Hee-han," Rongrong "," Ice Maple "," Xinxin "," Hao "," Xin Hui "," Jian Zheng "," Mei Xin "," Accomplishment Hui "," he Attributes "," Wen Jie "," Xin Source "," loyal Lin "," Banyan Run "," Yan Ru "," Hui Jia "," new "," Jian Lin "," also Phenanthrene "," Lin "," Ice Jie, "Jia Xin", "Han Han", "Yu Chen", "Chummi", "Ze Hui", "Wai Yang", "Han Yue", "Embellish Li", "Xiang", "Shuhua", "Crystal", "Lingjing" , "Yara Creek", "Rain Culvert," Jia Yi "," Jia Yi "," Zi Chen "," Jia Qi "," Purple Xuan "," Rui Chen "," Xin Rui "," Meng "," Mingyuan "," Hin Yi "," Ze far"," Hin Yi "," Jia Yi "," Jia Hui "," Morning XI "," Morning Jade "," Yun Hao "," Ru Xin "," Shu Jun "," Crystal 滢 "," "Embellish The Sally", "Banyan Shan", "Jia Yu", "Good Jade", "Xiao Qing", "Yi Ming", "Language Morning", "Add Pool", "Tim Hao", "Rain Ze", "Ya 晗
"," Ya Han "," Qing Yan "," Poem Yue "," Jia le "," Chen Han "," Tian-ji "," Yue Ao "," Jia Hao "," Tian Hao "," Meng Meng "," if Meng ");
var i = parseint (* math.random ()) * + parseint (* math.random ());
var familyname = familynames[i];
var j = parseint (* math.random ()) * + parseint (* math.random ());
var givenname = givennames[i];
var name = familyname + givenname;
var x = document.getelementsbyname ("Client_name"); for (var i =; i < x.length; i++) {var o = x[i]; o.value = name;}}
The above code is JS randomly generated name, mobile phone number, ID card number, bank card number of all the content, the code is relatively simple, there are any questions welcome to my message, small series will be in time to reply to you, but also thank you for your support of cloud Habitat Community website!