摘要:
身份证号正则 1 2 3 4 //身份证号(18位)正则 var cP = /^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/; //输出 true consol 阅读全文
摘要:
Document.write 定义: Document.write()这种方法是将文本字符串写入document.open()打开的文档流。 document.write()方法可以用在两个方面:页面载入过程中用实时脚本创建页面内容,以及用延时脚本创建本窗口或新窗口的内容。该方法需要一个字符串参数, 阅读全文