Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I have a search button, on clicking it shows 10 results first and on scroll show another 10 and so on. Scroll is handled by page index using stored procedure. On each scroll page index will be page index + 1.

If I scroll 2 times there will show 20 data and on clicking search button for new search page index will be changed to 1 but scroll cannot be changed, it shows 20 data but I need 10 values to be shown first.

I have done so far is using $(".MydivName").empty(); to clear previous data in the div. But the scroll cannot be cleared.
Posted
Updated 12-Aug-14 6:11am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900