摘要:
1.验证用户名和密码:("^[a-zA-Z]\w{5,15}$")正确格式:"[A-Z][a-z]_[0-9]"组成,并且第一个字必须为字母6~16位; 2.验证电话号码:("^(\\d{3,4}-)\\d{7,8}$")正确格式:xxx/xxxx-xxxxxxx/xxxxxxxx; 3.验证手机号 阅读全文
摘要:
实例: $("input[name="rds"]:checked").parents("tr").find("td:eq(1)").attr("title"); 阅读全文
摘要:
实例: String name = new String("期末考试成绩.xls".getByte("gbk"),"ISO-8859-1"); 阅读全文