I have 1000 divs and 20 of them are visible and remaining are hidden.
In the onClick jquery event, I want the next 20 divs to become visible and so on.
Assign sets of 20 to css classes, and have your jQuery method show all in that class. You can have a global js variable track number of clicks, then if an if statement, show hide the appropriate sections:
blah blah //in click event