Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
How to clear scroll on using empty function on button click
Renjith V S
Aug 13 2014 1:09 AM
669
Reply
Hi,
I need to clear scroll and value inside a div using empty (). On using empty() value inside the div is cleared but the scroll still remains there. For example: I have a search box and a button, on clicking search button a list of 10 results show first and on scrolling it shows next 10 results and so on. But whenever I type new search word in search box and click on search button will shows 20 results not 10 results. (Note: No:of results shown in second click is based on the no:of scrolls in the previous search).
Please help me.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Plugins stopped when i import Jquery.min.js from CDN
Jquery validate date