Quantcast
Channel: Niluka Blog » Jquery
Viewing all articles
Browse latest Browse all 17

Sharethis button does not work on pages loaded via ajax

$
0
0

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 (stButtons){stButtons.locateElements();} // Parse ShareThis markup



Viewing all articles
Browse latest Browse all 17

Trending Articles