How to evaluate a div from a string which is inside .get function
I evaluate a sting like that "<!DOCTYPE html>\r\n\r\n<html ... </body>\r\n\r\n</html>" inside $.get function.
I want to evaluate a div inside it. I tryed that didn't work:
var divHtml = $(data).find("#comments-comments").html(); // data is the string above.
How can I evaluate the divs I want from a string like that?
Thanks.