jquery.ui.spinner icon indicating copy to clipboard operation
jquery.ui.spinner copied to clipboard

Add Events

Open jogep opened this issue 14 years ago • 2 comments

is there a possibility to add events similar like jquery ui widgtes (slider, autocompleter, ..)

I think a change event is usefull.

jogep avatar Aug 31 '10 15:08 jogep

Note that if you grab a change event right now like: $("#spinner").change(alert(this.val());

it will loop endlessly... :(

Camwyn avatar Oct 18 '11 02:10 Camwyn

why on earth would you want to do that?

do it like this:

$("#spinner").change( function() { alert( jQuery( this ).val(); });

andrewmclagan avatar Mar 10 '12 10:03 andrewmclagan