I've got a simple piece of HTML, that I retrieve via AJAX. It looks like this:
<div id="hiddencontact">
<form id="hiddenform"></form>
</div>
So, that's stored in the 'data' variable.
Now I try to run this:
$('#hiddencontact', data);
But it does not work. I do not get the div.
This, however, does work, and returns the form to me:
$('#hiddenform', data);
Why is that? Why is the first element being ignored?
Btw: I'm using jquery 1.7.1