var iscancel = false;
$("#sysearch").on({
input: function (e) {
if (!iscancel) {
//do something
}
},
compositionstart: function () {
iscancel = true;
},
compositionend: function () {
iscancel = false;
$(this).trigger('input');
}
})
var iscancel = false;
$("#sysearch").on({
input: function (e) {
if (!iscancel) {
//do something
}
},
compositionstart: function () {
iscancel = true;
},
compositionend: function () {
iscancel = false;
$(this).trigger('input');
}
})