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
try this:
result = $("#result", response);
btw alert is a rough way to debug things, try console.log
alert
console.log