After html jQuery submits the button group to submit the post, $(this) cannot be assigned the solution By Qinqin Senior


After entering the post, $(this) cannot be assigned, and it was normal before the post

Solution

 this in ajax,
 Can't specify who
is outside of ajax var _this=$(this) ;
you can use _this to assign this in ajax

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326403322&siteId=291194637