I\'m trying to select a specific HTML element in a document, for firefox i just use:
xpathobj = document.evaluate(xpath, document, null, XPath
jQuery implements a cross-browser-compatible subset of xPath selectors with a plug-in. Your example "/HTML/BODY/DIV[9]/DIV[2]" should work in it.
(edit - corrected thanks to Sergey Ilinsky)