I don't believe title tag is valid in body tag however regardless of tag placement try this 
alert($('title').text());

Kris-I wrote:
Hello,

I have an HTML text with text and tags

I'd like to get only the text between the tags <title>

Then I have this:

<body>
start text
<title>Text to get</title>
end text
</body>

i'd like to have this result ONLY: "Text to get"

How can I do this ?

Thanks,

  

Reply via email to