Ok I'm submitting a form via ajax. The result string is a bunch of html links and images which I append to the body of the DOM. Is it possible to search with jQuery within this new code?
before ajax request:
<div id="results"></div>
after ajax request:
<div id=results">
<img src="somevalidpicture.jpg" class="image"/>
<img src="somevalidpicture2.jpg" class="image"/>
</div>
How can I run my jQuery code to manipulate that code again? For example:
$(".image").show(slow);
I suspect I cannot access the .image class, because it wasn't there when the page first loaded. And it doesn't show up in the sourcecode (browser). Is there a way to refresh/update the DOM?