Opened 6 years ago

Closed 6 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

Change History (1)

comment:1 Changed 6 years ago by Scott González

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.

Note: See TracTickets for help on using tickets.