添加标签 要限制长度

This commit is contained in:
lizanle 2015-09-21 17:04:41 +08:00
parent 9f97dc5739
commit 7624b917f0
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@
<a href="javascript:void(0)" class="yellowBtn f_l" onclick="$('#add_tag01').slideToggle();">+ 添加标签</a>
<% end %>
<span id="add_tag01" style="display:none; vertical-align: middle;" class="ml10 f_l">
<input type="text" name="addTag" size="20" class="isTxt w90 f_l" maxlength="100" />
<input type="text" name="addTag" size="20" class="isTxt w90 f_l" maxlength="<%=Setting.tags_max_length%>" minlength="<%= Setting.tags_min_length%>" />
<input type="button" class="submit f_l" onclick="addTag();" />
</span></div>
<div class="cl"></div>