"Do JavaScript" in Netscape 6.0?
"Do JavaScript" in Netscape 6.0?
- Subject: "Do JavaScript" in Netscape 6.0?
- From: Chris Adams <email@hidden>
- Date: Sat, 16 Jun 2001 07:28:47 +0000
can anyone get this command to work?
from the dictionary:
Do JavaScript string -- The javascript string to be executed
I have tried:
-- ===========
Do JavaScript "alert('hey!')"
-- "alert('hey!')" does
--not understand the Do JavaScript
-- ==========
set reload to "location.reload()" as string
activate
tell window 1
Do JavaScript reload
end tell
-- "location.reload()" does
--not understand the Do JavaScript
-- ==========
I am trying to duplicate this action which works in IE 4.5:
set reload to "location.reload()" as string
Activate
do script reload
-- reloads the page
Thanks.
--
Chris Adams
Cypress Lake Studios
Hypermedia, Quicktime, and Internet Design
http://www.cypresslakestudios.com
email@hidden