Ajaxed comments and LikeBtn!?
-
Hello there for one more time! π
I am developing a full ajaxed website… so i am trying to load new comments every 60 sec. My code for refresing the comments is:
<script type="text/javascript"> function push(){ $('.comment-list').load('http://domain.com/comment/ .comment-list > *'); } setInterval("push()", 60000 ); push(); </script>
I have made an template comment.php in my theme that prints the comments and then i have created a page that uses this template… (domain.com/comment)
<– I load only the “.comment-list” and i replace the existing “.comment-list” with ” >*” at the end of query function –>Where is my problem: The new comments loads ok but LikeBtn enter to an endless loading status…
Any idea?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Ajaxed comments and LikeBtn!?’ is closed to new replies.