i need code for the jquery grid which should go to next page after few seconds and after it reaches the last page it should call the webservice again to get开发者_Go百科 latest data
What grid are you referring to? If this is a jqGrid then you might use the jQuery Timers plugin with the following:
$(function() {
$(document).oneTime(DELAY_IN_MILLISECONDS, function() {
$("#myCustomNextButton").click();
});
}
Refer to the jqGrid Custom Buttons documentation on how to create your own custom buttons
精彩评论