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 should add dataType: "html" to the request. Im quite sure you wont be able to search the DOM of the returned html if it doesnt know it is html.
dataType: "html"