how to get value of p tag in javascript code example
Example: javascript get text from paragraph
function getContent() {
return document.getElementById("myParagraph").innerHTML;
}
function getContent() {
return document.getElementById("myParagraph").innerHTML;
}