Reinitialize jQuery plugin after AJAX call -


i'm using infinite ajax scroll: https://github.com/webcreate/infinite-ajax-scroll

the user possibility sort results name example or filter results. but, when have update navigation links.

the plugin launched (for example):

jquery.ias({   container     : ".listing",   item      : ".post",   pagination    : "#content .navigation",   next      : ".next-posts a",   loader    : "images/loader.gif" }); 

how reinitialize plugin after ajax call new navigation links work plugin?

you have call again, when ajax call done:

$.ajax({   url: "yoururl." }).done(function() {    jquery.ias({         container     : ".listing",         item      : ".post",         pagination    : "#content .navigation",         next      : ".next-posts a",         loader    : "images/loader.gif"   }); }); 

Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -