I add a delegate for my igNumericEditor using the following code:
$(document).delegate("#TimeframeModel-NumberOfDays", "ignumericeditorvalueChanged", function (evt, ui) { alert("Value changed"); });
However, the event is never raised. What am i doing wrong?
-wvusaf
Hi Mike,
you are correct there was a typo. but i had copied that event directly from the online documentation so i didn't realize what the problem was.
i updated the event name and it does work as expected.
wvusaf
Hello Rob,
Thank you for contacting Infragistics!
First depending on the version of jQuery you are using delegate may be superseded and you should be using on instead:
http://api.jquery.com/delegate/
http://api.jquery.com/on/
In addition to this the API appears to have a typo the event name should all be lower case for example:
$("#numericEditor").on("ignumericeditortextchanged", function(evt, ui) {alert(“Value Changed”);});