Dear Lazyweb: javascript edition
May. 6th, 2006 03:01 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
How do I execute some javascript and see the real output?
For example, if you look at this page you will see a text box in the middle of the screen. It's generated by calling the java script function "CAdrawbox('standard', '550')". If you check the source code in the browser you just see "CAdrawbox('standard', '550')". I want to see the HTML that the function output.
I've extracted the javascript to a file called foo.js but loading it into a browser just shows me the output (I believe).
Suggestions? I need to scrape this HTML (just once) for use on another project related to the website.
For example, if you look at this page you will see a text box in the middle of the screen. It's generated by calling the java script function "CAdrawbox('standard', '550')". If you check the source code in the browser you just see "CAdrawbox('standard', '550')". I want to see the HTML that the function output.
I've extracted the javascript to a file called foo.js but loading it into a browser just shows me the output (I believe).
Suggestions? I need to scrape this HTML (just once) for use on another project related to the website.