$.ajax({
url: "url.com",
type: "GET",
success: function (data){
$(data).
}
});
This data object returns an HTML page, and I just want to get a specific DIV from the data object. I tried $ (data) .find ('id / class'), but it only returns a string. I tried $ ("div" data); it returns the whole div, but not the one I want with some id. Im out of ideas, can anyone help?
source
share