• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
"Do JavaScript" in Netscape 6.0?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"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


  • Prev by Date: Re: Quark Style Sheets
  • Next by Date: Re: Info for question
  • Previous by thread: Re: Add scaled
  • Next by thread: Applescript's grammar
  • Index(es):
    • Date
    • Thread