Reinitialize addthis after loading ajax content

If you are using the AddThis share buttons, you might have noticed that once you initialize it on page load, it does not really work for content that is loaded via ajax after the fact.

i.e. AddThis is unaware of fresly loaded content. The fix for this is pretty simple. Just ask AddThis to refresh as follows, and it will automatically regenerate the correct share links for newly loaded content

Ryan Sukale

Ryan Sukale

Ryan is just a regular guy next door trying to manage his life and finances.

1 Response

  1. tutorialhorizon says:

    Awesome! I struggled a while working day trying alternatives before realizing I could do this.

Leave a Reply

Your email address will not be published.