On Thu, May 20, 2010 at 12:48 AM, Phil Mcdonnell <phil.a.mcdonnell / gmail.com
> wrote:

> I'm trying to scrape a page that hides some data behind a javascript
> function.  Is there any way to get this data?  I've been using
> Mechanize, but I'm not sure it can do this.  Is there a better library
> to use for this type of thing?
>
> The following is the interesting part of the page:
>
> <td class="colPlus" onclick="fireClick(this,0)">
>    <a id="iroc_0" class="plus" href="#" onclick="return
> false;">&nbsp;</a>
> </td>
> --
> Posted via http://www.ruby-forum.com/.
>
>
You might check out Harmony:

http://www.rubyinside.com/harmony-javascript-and-a-dom-environment-in-ruby-3001.html
http://rubygems.org/gems/harmony
http://github.com/mynyml/harmony