开发者

paginaton dropdown with jquery

I want to have a dropdown that will have the user select which record number they want to be 开发者_如何学Pythonon? so if I ave 200 records in db, it will have 4 pages and dropdown will look like this

"Just an idea..not an exact code"

<select>
<option>1-50</option>
<option>51-100</option>
<option>101-150</option>
<option>151-200</option>
</select>

I seen pagination with other types in jquery but not dropdown. Any help will be appreciated. Thanks


Check this excellent tutorial/plugin for doing pagination with jQuery. You can bind the change event of your dropdown and then use next, previous callbacks on it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜