Support » Plugin: Infinite-Scroll » [Plugin: Infinite-Scroll] jQuery click function call after page load

  • Hi,

    Searched through the forums and on google, but can’t seem to find a solution.

    For every post I have the following jQuery :
    <script> $(".norate-<?php the_ID(); ?>").one("click", function () { $(".norate-<?php the_ID(); ?>").toggleClass("rateclicked"); });</script>

    What do I put in the “Javascript to be called after the next posts are fetched” box?

    http://wordpress.org/extend/plugins/infinite-scroll/

Viewing 1 replies (of 1 total)
  • Anybody? I’ve tried some stuff like just putting the jQuery in the callback box in the infinite scroll settings, but nothings seems to work.

    I’m not really a javascript wizard:P

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Infinite-Scroll] jQuery click function call after page load’ is closed to new replies.