Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8611037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T04:16:22+00:00 2026-06-12T04:16:22+00:00

I am running some tests on my page and I’ve inputed a infinite scroll

  • 0

I am running some tests on my page and I’ve inputed a infinite scroll function, witch is working fine.

The problem is that the addthis button is not loading after the 10º result till the end of the page, because this content is coming from another php. What do I need to put in my php or the .js file to get it working?

the test page is this http://hogardelocio.com/teste2.php , as you can see, the first 10 articles are perfect, scroll down the page and it will load more articles but the button doesnt show…

Please give me a step by step explanation because Im beginer in ajax world 🙂

Thank you

Ps: the script of the infinite scroll is this https://github.com/tournasdim/PHP-infinite-scrolling

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T04:16:23+00:00Added an answer on June 12, 2026 at 4:16 am

    After you have loaded the content from your PHP script via ajax, you need to call addthis.toolbox() (in your $.ajax success callback):

    $.ajax({
        dataType : "html" ,
        url: "jquery-loadMoreComments.php?lastComment="+ $(".postedComment:last").attr('id') ,  
        success: function(html) {
            // your existing code
            addthis.toolbox('.addthis_toolbox');
        }
    };
    

    This should re-render all the share buttons on the page. I hope this works.

    Update – added class name to toolbox method

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Running some user-load tests with jmeter, and noticed that for each page load after
I am running some profiling tests, and usleep is an useful function. But while
The problem I'm using fitnesse for running some automated tests. There is a class
Quick JUnit question. I'm running some unit tests that involve starting up the GUI
I am am running some selenium tests(ruby) on my web page and as i
After running some usability tests, I found that participants opened a jQuery Lightbox to
When running some tests I came across the following issue. When using: private String
I'm running some tests comparing the sha1 algorithm implemented in javascript - got from
I am running some tests with linq, how can I check what queries SQL
I am running Jetty during some integration tests in daemon mode and am getting

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.