TypeError: Cannot read property 'click' of null

前端 未结 4 2050
[愿得一人]
[愿得一人] 2020-12-17 20:18

I have been mass following / unfollowing / favoriting / unfavoriting on twitter with these codes ;

$(\'button.follow-button\').click();
$(\'button.ProfileTwe         


        
4条回答
  •  难免孤独
    2020-12-17 20:29

    In my case there was a conflict between jquery and another library so I had to implement a jQuery.noConflict(); in a script before calling in my main script.

    You could read more about jquery conflict here

提交回复
热议问题