set value in span using jquery

Solutions on MaxInterview for set value in span using jquery by the best coders in the world

showing results for - "set value in span using jquery"
Lautaro
15 Mar 2018
1//set value in span using jquery
2$("#idname").text("your value");
3
4//set value in span using Javascript
5document.getElementById("idname").textContent="Your value";
6document.getElementById("message").innerHTML="your value";