re-initialize ST with ajax?
-
Have ajax-ed a ST std. pagination (with another excellent plugin: Malinky Infinite Scroll.)
I’ve an issue where a second ST shortcode needs to be re-initialized during such pagination. I’ve usually achieved this with:
$(document).on('click', '.mydiv', function() { reinit_stuff(); })etc.
How to properly do that with ST? What would I need to call?
PS: I’ve digged the
pagerObjectthat seemed promising but it isn’t working for me this way:$('a.page-numbers').on('click', function() { $('.strong-paginated').each(function () { pagerObject.initPager(this); }); });Any suggestions?
Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘re-initialize ST with ajax?’ is closed to new replies.