Ian Skinner wrote:
> Is there any way to restrict a getElementByTag() function to a subsection of 
> the DOM?
>
> I.E.  Only return div tags that are children of the "contacts" fiedset node?
>
> I've tried a couple of nebulous attempts at this with no success.
>   
I don't know how getElementsByTag() differs from getElementsByTagName, 
but you can call the later on a node.

nodes = getElementById('yourdiv').getElementsByTagName('p');

Ryan Stille
CF WebTools
http://ryan.cfwebtools.com



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264648
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to