配置关键字限制长度1024
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
$(function(){
|
||||
//增加描述新增时的文字长度限制
|
||||
$("form input[name='cfgDesc']").attr("maxlength","128");
|
||||
$("form input[name$='cfgKeywords']").attr("maxlength","2048");
|
||||
$("form input[name$='cfgKeywords']").attr("maxlength","1024");
|
||||
//截取过长的文字 使用id选择器;例如:tab对象->tr->td对象. 排除日志table .logTb
|
||||
$("#contentTable").not(".logTb").find("td").each(function(i){
|
||||
//获取td当前对象的文本,如果长度大于25;
|
||||
|
||||
Reference in New Issue
Block a user