jquery中修改一个元素的值或内容,比如数值增加可以使用这个方法取得原值并+1 $this.text(function(i,ot){return Number(ot)+1;}); 转载于:https://www.cnblogs.com/fayf/p/4723542.html