how to change text of a span using jquery code example Example: jquery change span tag text $('.in-stock span').html("your new string");