I have the following example HTML:
<div id="target">
<div id="targetText"></div>
</div>
and I'm using the following code to get the inner div:
$('#targetText');
instead, I was wondering if I could drop the id of the inner element, and somehow match the #target's child?
I have like hundreds of inner children, so, it does not make sense to put an id to each of them. I could just do something like $("#target").innerChild(5); or something. Does anyone know a good way of doing this?