set value in span using javascript

55

jquery change span tag text -

$('.in-stock span').html("your new string");

change span value javascript -

document.getElementById("serverTime").innerHTML = ...;

Comments

Submit
0 Comments