jscroll
jscroll copied to clipboard
custom append position?
is it possible to have an option that defines the position in the dom where to add the response and remove the additional divs?
I have a list and want to add more li to it upon scrolling. all elements need to be in that list to work with my sorting logic.
thanks.
just replicated the plugins behavior using load().
now I understand what die additional divs are for. too bad ajax' url parameter doesn't support loading page fragments.
just read through the docs. the load only inserts page fragments but loads the whole answer. this could be achieved using the ajax() method too which wouldn't require to insert the answer right away in a seperate container. the answer could be filtered and appended to any custom position.
just thinking aloud maybe someone's there who listens
I add that because of that, it's not possible to make it work with tables (add new line at each request). The additional divs completely mess up the table rendering