On my page (wordpress) - I have all posts on startpage. I have built in a filtersystem with which the user can filter the posts after specific stuff - like "newest, most viewed, highlighted"
I use this function beneath to make this filter work:
this here is e.g. an JS File, which would be neccessary to make lazy loader available to the filtered posts:
The question is: How can I tell in the function above, to also use the JS script on the new loaded "filtered" page.
It's a bit like this: Use Ajax() function in Jquery to load PART of an external page into div
but I didn't get it to work....
thanks a lot!