Closed babblebykev closed 6 years ago
I'm not exactly sure what the content of posts
is, but if its a string of HTML, then you should wrap it in a jQuery object and use that with append
var $posts = $( posts );
$(".posts_inner").colcade( 'append', $posts );
Hello again,
It works as intended now. Thanks for the response!
I'm currently working on a pagination system for a site I'm making, where the posts on the next page would be loaded into the current page via AJAX. However, I'm currently having trouble getting the "append" function to work with the AJAX-loaded posts.
Code:
Live link: design.bykev.co