I have a number in a span tag. I need to get the value of the number in the span and then increment it inside jQuery. I know how to do this for a text input - can this be
Something like this:
var $span = $('#mySpanId'); $span.text(Number($span.text()) + 1);
http://jsfiddle.net/mattball/Cf834/