jqote中调用jQuery方法截取字符串长度
//js截取字符串长度//num截取字符数,cont要截取的内容,dots是否有省略号:1有function CutOut(num, cont, dots) {var con = "";if (cont != null || cont != "") {cont = removeHTMLTag(cont);if (cont.length > num) {con = cont.substring(0,
原创
2014-10-14 16:21:23 ·
837 阅读 ·
0 评论