change text inside span javascript code example Example: set span text $("#spanID").text('your text');