Hi, I'm following the Infinite Scroll example. I have it working, but rather than the single list on page load, I may want to change a parameter and query the service again. So I need to set the skip to 0, and clear out the list before I execute the service. What is the best way to clear the list? Whatever I try the new data seems to be appended to the end of the list (which should only be done when I scroll to the bottom of the page).
I've tried .empty(), and Appery('list').find("li").not("[dsid=listItem]").remove();
and a distinct service instance that maps directly instead of using the javascript before the map.