Hey everyone,
I tried implementing the children function in ExtJS using select("~ *"), it just didnt work well.
I just want ExtJS to return me a set of immediate child node and ignore all the nodes under child nodes.
<div>
<span>
<img/>
<img/>
</span>
<span>
<img/>
<img/>
</span>
<span>
<img/>
<img/>
</span>
</div>
In fact I just want the number of immediate childs. If I get the select right, I can do a getCount() on the CompositeElement.
Any help will be very much appreciated.
Cheers, Mickey