As the title, how can I remove a div on the html title using javascript or jquery framework?
I know it sounds weird but currently I’m working on a CMS template and the generate title has around the title
<title><div id="title">Title of the page</div></title>
Any help appreciated
Stores the (inappropriate) HTML text of the original title tag into a temporary div, then puts the plain-text content of the temporary div back into the title.
EDIT: Probably a better solution that works on IE6 as well: