2013年12月13日

摘要: 强制不换行div{ white-space:nowrap; }自动换行div{ word-wrap: break-word; word-break: normal; }强制英文单词断行div{ word-break:break-all; } 阅读全文
posted @ 2013-12-13 16:29 向阳的味道 阅读(92) 评论(0) 推荐(0)

2013年11月27日

摘要: $("input[type='checkbox']:checked").each(function(){console.log($(this).val())}) 阅读全文
posted @ 2013-11-27 11:14 向阳的味道 阅读(85) 评论(0) 推荐(0)

2013年11月7日

摘要: http://wenku.baidu.com/link?url=MLPi8lr7JTr-ueAtz4mZoNzkbcYfF-a9MQaIzcO_djwveAKd8dy6uhtBUuBqt6ZIqQdSX5JJP5bIdrI5QujaoyZ4_kYXf62KloLmaaV0O4a 阅读全文
posted @ 2013-11-07 11:27 向阳的味道 阅读(103) 评论(0) 推荐(0)

2013年10月24日

摘要: public static boolean isEmail(String strEmail) { String strPattern = "\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*"; Pattern pattern = Pattern.compile(strPattern); Matcher m = pattern.matcher(strEmail); return m.matches();} 阅读全文
posted @ 2013-10-24 10:37 向阳的味道 阅读(126) 评论(0) 推荐(0)

导航