Trying to find div element with id=\"result\" in returned data from .ajax() using .find(). Unfortunately, alert(res
div
id=\"result\"
.ajax()
.find()
alert(res
You can do it in this way to find any div and get its attributes or anything you want.
$(response).filter('#elementtobefindinresponse').attr("id");
or
$(response).filter('img#test').attr("src");