clear value in span using javascript code example Example: javascript reset span html $("span").html("");