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

后端 未结 8 724
温柔的废话
温柔的废话 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

    It seems like the script is calling the onLoad event of javascript and using this ajax call won't actually trigger that event. You could try other "share this" widget?

    Like http://sharethis.com/#STS=g12m3ugh.21zb or pre-load that button?

    Can you post a little bit more of the story on what are you doing?

提交回复
热议问题