display the text on span based on recent time code example Example: jquery change span tag text $('.in-stock span').html("your new string");