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