Click to See Complete Forum and Search --> : WebBrowser->Can not find javascript source


April 5th, 2000, 03:19 PM
Hi, all:

I am using WebBrowser in my app, How can I get the full HTML source?
I have tried webbrowser.document.body.innerHTML and outerHTML, I can
not get the FULL HTML source, cause i can not find any javascript source
in innerHTML or outerHTML. I am pretty sure that page contains javascript
sources.

Thanks in advance!

Lothar Haensler
April 6th, 2000, 01:57 AM
I have just tried it and document.body.outerHTML did in fact return the javascript code inside that page.
Make sure that the page contains javascript code by loading it in to the browser and "view source".

The javascript source might stored in an external file as in
<script language="Javascript" src="...">