JavaScript jquery ajax 中 $(this) 不起作用解决方法 $(“.finish”).click(function(){ var fh=$(this); alert(fh.html()); }); 在ajax前面先将$(this)赋值给一个变量,然后在ajax里面我们就可以通过这个变量来操作当前元素了。 2018年11月10日