I am stuck with as issue of accessing HTML element in IE using XPath in Javascript? I already tried with selectNodes() method but its for XML only, it does not work for XPat
Try Wicked Good XPath: https://code.google.com/p/wicked-good-xpath/
It is the smallest and fastest JavaScript-based XPath library and maintained by Google.