I am going to get a element from a html-string with jQuery, but I always get an undefined in my console. My String is:
asd
I have a response that is of the form:
...
...
...
And @minitech 's method resulted in an array of HTML nodes in which the selector didn't work.
So I tried this and it worked out nice:
$.ajax({
url:
success: function($data) {
var $parsed_data = $('').append($data);
var found = $parsed_data.find(".Selector");
...
}
});