Mah per ora utilizzo
facile e veloceCodice PHP:
$(function() {
var options = [1,2,3,4,5,6,7,8,9,0,'.'];
var html = '<ul class="number-picker">';
for(var i = 0, len = options.length; i < len; i++){
html += '[*]'+options[i]+'';
}
html += '[/list]';
$('#price').attr('disabled', true);
$('#price-element').append(html);
$('.number-picker li').click(function(){
var digit = $('#price').val()+$(this).text();
$('#price').val(digit);
}
)
});
![]()