<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>parent elements — Sahi Pro Community</title>
        <link>https://community.sahipro.com/forums/</link>
        <pubDate>Fri, 13 Nov 2026 02:03:10 +0000</pubDate>
        <language>en</language>
            <description>parent elements — Sahi Pro Community</description>
    <atom:link href="https://community.sahipro.com/forums/discussions/tagged/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>Accessing Child Elements</title>
        <link>https://community.sahipro.com/forums/discussion/1285/accessing-child-elements</link>
        <pubDate>Tue, 08 Dec 2009 04:25:04 +0000</pubDate>
        <category>Sahi - Open Source</category>
        <dc:creator>haripriya.yerra</dc:creator>
        <guid isPermaLink="false">1285@/forums/discussions</guid>
        <description><![CDATA[Hi,<br />
<br />
i have a html like below<br />
<br />
&lt;div id=&quot;menu&quot;&gt;<br />
&lt;ul&gt;<br />
&lt;li id=&quot;open&quot; enabled=&quot;false&quot;&gt;<br />
&lt;a href=&quot;#&quot;&gt;Open...&lt;/a&gt;<br />
&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/div&gt;<br />
<br />
&lt;div id=&quot;menu1&quot;&gt;<br />
&lt;ul&gt;<br />
&lt;li id=&quot;open&quot; enabled=&quot;false&quot;&gt;<br />
&lt;a href=&quot;#&quot;&gt;Open...&lt;/a&gt;<br />
&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/div&gt;<br />
<br />
now i want know the list item open is enabled or not in 'Menu div' ( Not in Menu1 div )<br />
<br />
i can check like this if it is only one unique id _listItem(&quot;novadrive-mnu-accesssettings&quot;).getAttribute(&quot;enabled&quot;)<br />
<br />
but its not, so i need to check with related parent element, so is there any option to get like below<br />
<br />
_alert(_div(&quot;menu&quot;).listItem(&quot;Open&quot;).getAttribute(&quot;enabled&quot;));<br />
<br />
please help me.<br />
<br />
Thanks and Regards,<br />
Priya.]]>
        </description>
    </item>
   </channel>
</rss>
