修改项目新闻提示

This commit is contained in:
ouyangxuhua 2015-08-31 17:49:48 +08:00
parent 4581f9439a
commit 8403d5365c
1 changed files with 7 additions and 0 deletions

View File

@ -248,6 +248,13 @@ function regexDescription() {
$("#description_notice_span").focus();
return false;
}
else if (name.length > 10000)
{
$("#description_notice_span").text("描述超过10000个字符");
$("#description_notice_span").css('color', '#ff0000');
$("#description_notice_span").focus();
return false;
}
else {
$("#description_notice_span").text("填写正确");
$("#description_notice_span").css('color', '#008000');