Hi
I need an event that only triggers when I have changed the value by entering text or increase/decrease by clicking the spinning buttons. Unfortunately the spin buttons does make the input loose it’s focus and therefor the ‘change’ event is triggered. That seems unexpected behaviour to me. I need an event that is triggerd when the numberinput AND spin buttons looses focus. Is this possible?
$('.inputMinimumAantal').jqxNumberInput({
value: viewModel.minimumaantal(),
spinButtons: true,
inputMode: 'simple',
decimalDigits: 0,
min: 0,
width: 40,
height: 25
}).on('change', function(e) {
console.log('submit to server using xhr'); // every time I click a spin!
});
Thanks
Richard