Say I have this div
block:
<div id="some_id" style="display: none;">
<form action="someAction" method="post">
<input type="hidden" name="some-name" value="some-value">
</form>
</div>
I need to the select the form
inside this div
. I am able to select the div
by $('#some_id')
but when I try to select the form
by $('#some_id').find('form')
(or get
or $('#some_id:form')
) I get this error:
Uncaught TypeError: $(...).find is not a function
Any possible solution?