Opened 8 years ago
Closed 8 years ago
#13692 closed bug (notabug)
Time spinner does not trigger change event
Reported by: | vikasbs | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.spinner | Version: | 1.11.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
See http://jsfiddle.net/wruxm7v5/
Take the example of time spinner: http://jqueryui.com/spinner/#time
when I try to add the event handler for 'change' event as follows:
$("#spinner").on("spinchange", function () {console.log("spinchange");})
No event generated for the time spinner widget upon 'change'. But its working for a normal spinner widget
Note: See
TracTickets for help on using
tickets.
That's because
spinchange
is aspinner
event, but you've created a new widget calledtimespinner
, so you should be listening fortimespinnerchange
.