$(function () { // Set pageIndexChanging event handler function $(".selector").wijpager({ pageIndexChanging : function (e, args) { } }); });
Parameters
- e
- The jQuery.Event object.
- args
- The data associated with this event.
$(function () { // Set pageIndexChanging event handler function $(".selector").wijpager({ pageIndexChanging : function (e, args) { } }); });
// Supply a callback function to handle the event: $("#element").wijpager({ pageIndexChanging: function (e, args) { // Handle the event here. } }); // Bind to the event by type: $("#element").bind("wijpagerpageindexchanging", function (e, args) { // Handle the event here. }); // You can cancel this event be returning false: $("#element").wijpager({ pageIndexChanging: function(e, args) { return false; } });