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 tagsI'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, |
- [jQuery] Text manipulation : retrieve tag Kris-I
- [jQuery] Re: Text manipulation : retrieve tag Charlie