Skip to main content

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 scottgonzalez comment:1

resolution: → notabug
status: newclosed

That's because spinchange is a spinner event, but you've created a new widget called timespinner, so you should be listening for timespinnerchange.