Search and Top Navigation
#10548 closed bug (worksforme)
Opened August 15, 2014 10:00AM UTC
Closed August 20, 2014 01:14PM UTC
spinner
Reported by: | eliebenberg | Owned by: | eliebenberg |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.spinner | Version: | 1.11.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
no event fires if spin only once. using v 1.11. have tested on both spinstart and spin.
$(".Feeling90ASpinner").spinner({ onSelect: function () { }, max: 20, min: 1 });
jQuery(".Feeling90ASpinner").on('spin', function () {
if ($(this).val() != "") {
$("#Feeling90").prop('checked', true);
$(".Feeling90ASpinner").css({ "border-color": "#ABAAAA", "border-width": "1px", "border-style": "solid" });
}
});
jQuery(".Feeling90ASpinner").on('spinstart', function () {
if ($(this).val() != "") {
$("#Feeling90").prop('checked', true);
$(".Feeling90ASpinner").css({ "border-color": "#ABAAAA", "border-width": "1px", "border-style": "solid" });
}
});
Please provide a reduced test case as requested in the red box. Make sure to only use options that exist, simplify the test to the minimum code required, and describe the steps you're taking.