wood burning stoves*
The moose likes HTML, CSS and JavaScript and the fly likes XPathResult methods and properties not working greasemonkey userscript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "XPathResult methods and properties not working greasemonkey userscript" Watch "XPathResult methods and properties not working greasemonkey userscript" New topic
Author

XPathResult methods and properties not working greasemonkey userscript

Mahesh Chandran
Greenhorn

Joined: Mar 23, 2011
Posts: 20
Hi all,

I have installed greasemonkey plug-in for Firefox (my FF version is 21.0). I wrote a userscript named mahesh.user.js



Now when I print the following



The Firebug debugger writes out the XPathResult object. But I am unable to use any of the XPathResult properties such as snapshotLength or methods such as iterateNext() or snapshotItem(). Nothing gets printed on the console if I do this.

i.e.



Nothing gets printed on the console except for the first "I am here".

Need help please. Kindly advice.

Regards Mahesh.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XPathResult methods and properties not working greasemonkey userscript