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.
In reply to Re: SpiderMonkey and JS
by Crackers2
in thread SpiderMonkey and JS
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |