Hi,
Is it possible to receive an event when an input field has one character typed and when that character is deleted by the user?
I want to disable another button on a web page (or take other action) when an input field becomes empty.
i have tried the following but that function isn’t executed when the last (and only one) character is removed.
$("#searchInput").jqxInput({
source: function (query, response) {
var item = query.split(/,\s*/).pop();
// loop throe all tree items
// if tree item not equal hide tree item otherwise keep visible
// If nothing found then enable AddTreeItemButton();
}
});
Thanks in advance,
Rob