SyntaxFix
Write A Post
Hire A Developer
Questions
$('title').text();
returns all the title
but if you just want the page title then use
document.title