SyntaxFix
Write A Post
Hire A Developer
Questions
Do you use jQuery? A good option would be
text = $('p').text();