wrote:
> I know how to edit my page using xpath selectors in firefox, it's just
> like this (in the else if). However, I can't find any way to do it in
> IE? I just want to find all links with the className=='leftNavPElement'
> and then set them to 'leftNavBltItem', but I can't find how to do the
> xpath stuff in IE.
Mozilla and Opera 9 support XPath over HTML DOM documents, IE does not
do that. If you want to find all a elements with a certain className
value then loop over document.getElementsByTagName('a') and check the
className property in the loop.
--
Martin Honnen
http://JavaScript.FAQTs.com/