Basic HTML version of Foils prepared 23 June 1997

Foil 14 <SCRIPT> Tag Attributes - I

From JavaScript Tutorial for Certificate Course UC Web applications Certificate -- Summer 97. by Geoffrey C. Fox, Tom Scavo


1 One can specify different versions of the JavaScript language
  • For example:
  • <SCRIPT LANGUAGE="JavaScript1.1">
  • // Ignored by Netscape Navigator 2.0
  • location.replace("versionforNN3.0.html");
  • </SCRIPT>
  • <SCRIPT LANGUAGE="JavaScript">
  • // Read by Netscape Navigator 2.0
  • </SCRIPT>
2 location.replace(URL) replaces current page with new URL which in this case is assumed to hold a version with nifty new JavaScript 1.1 features

in Table To:


Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Wed Apr 1 1998