$(function () { // Set close event handler function $(".selector").wijfilter({ close : function (e, args) { } }); });
Parameters
- e
- jQuery.Event object.
- args
- The data with this event.
$(function () { // Set close event handler function $(".selector").wijfilter({ close : function (e, args) { } }); });
Supply a callback function to handle the close event: $("#element").wijfilter({ close: function (e, args) { } }); Bind to the event by type: $("#element").bind("wijfilterclose", function (e, args) { });