阅读背景:

jquery统计输入框字数

来源:互联网 
$(document).ready(function(){
     $('#comment').on('input propertychange', function() {
         var count = $.trim($(this).val()).length;
         $('#tip').html("已输入 "+ count +" 个字。");
     });
 });
$(document).ready(function(){
     $



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: