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