Is it possible to add suffix into jQuery spinner (jquery.ui.spinner). e.g: 10.02%.
I tried following, from jquery.ui.spinner [under Option section], but it did not w
I'd consider adding an additional input showing a text with suffix, while the spinner is containing only number. That is a convenient way to work with posted data.
$( ".spinner" ).spinner({
min: 1,
max: 999,
spin: function() {
$(this).siblings('.spinner-text').val($(this).val()+' items');
},
stop: function() {
$(this).siblings('.spinner-text').val($(this).val()+' items');
}
}).parent().append('');
http://jsfiddle.net/6t9bS/3/