Nathuram Godse - The Man Who Killed Gandhi
(The Other Side of The Story)
ren gitignore.txt .gitignore[object Object], which is what jQuery will return with the find("#result") method. It returns a jQuery element that matches the find query.result.attr("id") - it should return result. #result is the top level element.#result is the top level element,<!-- #result as top level element -->
<div id="result">
<span>Text</span>
</div>
find() will not work. Instead, use filter():var $result = $(response).filter('#result');
If #result is not the top level element,<!-- #result not as top level element -->
<div>
<div id="result">
<span>Text</span>
</div>
</div>
find() will work:var $result = $(response).find('#result');
Nathuram Godse - The Man Who Killed Gandhi (The Other Side of The Story)