1.html文件
<td>
<input class="easyui-textbox" data-options="required:true" >
<span >0</span>位 </span>
</input>
</td>
2.js方法
$('#clientPhone').next().children().on("input propertychange",function(){
var clientValue = $('#clientPhone').next().children().val();
$('#txtNum').text(clientValue.length);
});