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
Is #result in the response HTML? Try the following. jQuery will still return an empty object if it doesn't find anything.
#result
alert(result.length);