I want to parse HTML using Jquery
I am getting some HTML from server as responseText like this :
<html>
<title>Title</title>
<body>
<p>My JSON data</p>
</body>
</html>
Now i want to parse this using jquery parseJSON function, How could i do this plz help me.
Thanks
If you simply create a jQuery object with the responseText, it will return a representation of the content in the body of your responseText, e.g.
Then you can parse it.