I have managed to retrieve the html content of a web page via jQuery and ajax.
Now I want to find the value between the h1 tags and display it.
How can I do it in jQuery?
$.get(link, function(res){
//get link content
var temp_content = res.responseText;
}
thank’s
That should do it. You are creating a jQuery object, finding the H1, and then getting its text.