Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: SpiderMonkey and JS

by Crackers2 (Parson)
on May 01, 2009 at 14:35 UTC ( [id://761303]=note: print w/replies, xml ) Need Help??


in reply to SpiderMonkey and JS

As far as I can tell there's no connection between the SpiderMonkey object and your LWP request. In other words your document.getElementById is being applied to an empty DOM tree, NOT to the document you retrieved with LWP.

I had a brief look through the SpiderMonkey documentation you linked, and I don't immediately see a way to feed it an HTML document.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://761303]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-19 19:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found