title: Infinite scroll : good callback for comment inline plugin
body: <p>I use the plugin Infinite Scroll for wordpress and it works well.
  But i also use the plugin Inline Ajax Comment which display comments in ajax on each post.</p>
  
  <p>It does not work for the posts in the Infinite Scroll because the script need a callback. </p>
  
  <p>So i use this callback :
      ajaxLoadedCallback();</p>
  
  <p>Because in the script.js of inline comments, i can see :</p>
  
  <pre><code>// BETA: If newly loaded Ajax content has javascript then execute.
  // This helps inline-ajax-comments work if loaded by something like Infinite Scroll.
  // You MUST run this callback after ajax success. see jQuery docs.
  
  function ajaxLoadedCallback() {
    scriptx = document.getElementsByTagName("script");
  
  
  scripts = new Array();
  for (var idx=0; idx&lt;scriptx.length; idx++) {
  
      if (jQuery(scriptx[idx]).is(".inline-comments-script")) {
          scripts.push(scriptx[idx].innerHTML);
      }
  
  }
  </code></pre>
  
  <p>But the comments are not loading...</p>
  
  <p>Does someone got an idea ?</p>
  
  <p>Thanks.</p>
  
  <p>Inline Ajax Comments : <a href="http://wordpress.org/plugins/inline-ajax-comments/" rel="nofollow">http://wordpress.org/plugins/inline-ajax-comments/</a></p>