hey
is there a way to fetch an elements immediate children? for example, for
this layout:
<di id='parent-el'>
<div id='a' class='sub-el'>
<div id='sub-el' id='c'></div>
</div>
<div id='b' class='sub-el'></div>
</div>
i would like to do something like
*$('parent-el').getElements('>.sub-el')*to only fetch
*a* and *b*. now, i know that if i know the current element's id can do
something like:
*$('parent-el').getParent().getElements('#parent-el>.sub-el') *
but it seems wrong and also not very adaptive. so is there a better way of
doing this? am i missing some magic method?
-----------
אריה גלזר
052-5348-561
5561