Featured post
jsp - Using jquery pagination plugin -
i want use this plugin, don't know if it'll meet of requirements.
i know have use json fetch data server , use @ client side, right?. now, that's fine, because have few records, when have thousands of ; convenient bring data @ once? know :
- is there way query database every time press number of specific page? ask cause don't think idea load data in 1 go, it?
- i used pass id of record going edit this
:
<td align="center"> <c:url value="edititem.htm" var="url"> <c:param name="id" value="${item.id}"/> </c:url> <a href="<c:out value="${url}"/>"><img src="images/edit.png" width="14" height="14" alt="edit"/></a> </td>
but don't know not how it.
i hope can me out.
thanks in advance.
... i'll give shot. how this? if @ source of demo page, there's member.js file , think that's mock data demo. has 1 variable 'members' that's used plugin. you're right, ajax call how need data server. think that's bummer since it's hard coded :-(
from documentation:
callback callback function called when user clicks on pagination link. function receives 2 parameters: new page index , pagination container (a dom element). if callback returns false, event propagation stopped. default value: function(){return false;}. callback function essential functionality of pagination! should contain code updates content. fast user experience should not load content via ajax in function. instead, pre-load content pages , switch between them function.
... 2 sentences problem though:
for fast user experience should not load content via ajax in function. instead, pre-load content pages , switch between them function.
... pre loading content might non starter in situations, defeating purpose of using pagination :-( wold on own rolling callback function data sets.
did try contacting author server side interaction samples?
- Get link
- X
- Other Apps
Comments
Post a Comment