Sharethis button does not work on pages loaded via ajax
问题 I am trying to use the sharethis button on a page which is loaded via ajax. The buttons do not show up. Please help. Regards, Pankaj 回答1: After adding the new content to the dom, call stButtons.locateElements(); // or if you want to be a bit defensive about whether the lib has been // loaded or not: if (window.stButtons){stButtons.locateElements();} // Parse ShareThis markup Article another another 回答2: Updated 09/2017 Answer The stButtons object doesn't exist anymore, now you can use window.