原理: 1.通过ajax将数据提交到服务端。 2.服务端处理并返回结果。 jquery的ajax形式如下: $.ajax({ url:'update_Praise.php',//处理数据的地址 type:'post',//数据提交形式