bindFilterFunc: function () { if ("v" == "v") { // IE only $("#inputSearch").bind("propertychange", function () { role.list.filterTable() }); } else { // !IE $("#inputSearch")[0].addEventListener("input", role.list.filterTable, false); }; }, filterTable: function () { role.list.getRoleList($("#inputSearch").val(), function () { dialog.close(); }); },