Hi...
I have a simple TextRange search function within a main menu page of a site... what i would like to do is set the "style.display" option to be "block" for all parentElement()'s of the found word to "block"... here is why:
ROOT
TABLE 1
<il>HREF "CONTRACTING" OnClick="OpenNode('Contrac
ting');"
<UL Style="Display:none;" id="Contracting">
<li> HREF "Annual Membership Fees"
</ul>
</table>
Word being searched would be Annual... it will give me an error on the TextRange.select();...
Ideally i would like it to open up the tree from which the found word is located under and then execute the select(); command
...and i'm guessing it's because it's under a hidden ul... but for some reason i can't seem to do that... can anyone tell me how??
Thank you!
MaxOvrdrv2
Start Free Trial