Basic HTML version of Foils prepared 23 June 1997

Foil 67 The Asynchronous JavaScript/Browser

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


1 There are several issues that are tricky due to asynchronous, thread-based processing in browsers
2 This is seen when reloading JavaScript pages, which sometimes produces unclear results since different frames and variables are set in a different order from that in which multi-frame system was built!
  • Often get "false" errors as variables not set "in time"
3 Note that when you set a location field in a window with a JavaScript command such as:
4 window.location = "newurl";
5 subsequent commands are executed immediately and do not wait wait for the new page to be loaded!

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