Search and Top Navigation
#13692 closed bug (notabug)
Opened July 17, 2015 09:19AM UTC
Closed July 17, 2015 12:47PM UTC
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
Attachments (0)
Change History (1)
Changed July 17, 2015 12:47PM UTC by comment:1
resolution: | → notabug |
---|---|
status: | new → closed |
That's because
spinchange
is aspinner
event, but you've created a new widget calledtimespinner
, so you should be listening fortimespinnerchange
.