h3 / jquery-utils

Automatically exported from code.google.com/p/jquery-utils
MIT License
0 stars 0 forks source link

Doesn't fire change event. #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. $('#textbox').timepickr();
2. $('#textbox').change(function() { alert('?!'); } );
3. Set the time from the timepickr UI.

What is the expected output? What do you see instead?
Should see an alert box with "?!"; however, the change event isn't fired.

What version of the product are you using? On what operating system?
0.6.6

Please provide any additional information below.
Quick fix. In the update function change:
$(this.element).val(o);
to:
$(this.element).val(o).change();

Original issue reported on code.google.com by Nick...@gmail.com on 17 Jun 2009 at 7:49

GoogleCodeExporter commented 9 years ago
This is fixed, thanks for the report

Original comment by hainea...@gmail.com on 6 Aug 2009 at 5:41