IE check if page is fully loaded
IE check if page is fully loaded
- Subject: IE check if page is fully loaded
- From: Ingo Bitsch <email@hidden>
- Date: Wed, 27 Jun 2001 16:20:31 -0400
Hi all,
I would like to load a web page in Internet Explorer and then
send a Javascript command to the page ("do script..") that fills
out a form and submits it. The problem is, the script seems to
send the Javascript before the page is loaded. Is there a
reliable way for the script to wait for the page to load, and if
it should not be available, give up after a specified time?
Thanks for any suggestion!
Ingo
tell application "Internet Explorer"
activate
GetURL "
http://www.testurl.com"
do script "this.form1.field1.value='Hallo';"
do script "this.form1.field1.submit();"
end tell