AddThis button will not work inside AJAX, but will work normally

后端 未结 8 738
温柔的废话
温柔的废话 2021-02-04 17:47

Basically, this is what I\'m doing. User visits site, loads \"index.html\" Within index.html, it automatically loads, through AJAX, \"details.html\" into a DIV. I put an ADDTHIS

8条回答
  •  不知归路
    2021-02-04 18:13

    Add this snippet of .js to the .html you are loading. Replace "#atbutton" with your button's selector.

    addthis.button("#atbutton");

提交回复
热议问题