try this one if this helps:
i have changed a little bit i used classes .plus, .minus
instead of ids #plus, #minus
$('.plus').click(function() {
var sp = parseFloat($(this).prev('span').text());
$(this).prev('span').text(sp + 1);
});
$('.minus').click(function() {
var sp = parseFloat($(this).next('span').text());
$(this).next('span').text(sp - 1);
});
check this out in fiddle: http://jsfiddle.net/L2UPw/