This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
Similar Threads
Download progress bar freezing up when downloading Jar files
Adding an object with an array, as a value of another object
How to use JSON & eval()
Javascript problem trying to invoke Axis service
console.log function not working.