HELP! * GREY=local LOCAL HTML version of Foils prepared 15 January 1997

Foil 67 The Asynchronous JavaScript/Browser

From JavaScript Tutorial for CPS616 Technologies of the Information Age 1997 Basic Information Track of CPS -- Spring Semester 97. by Geoffrey C. Fox * Important Information in IMAGE

There are several Issues that are a bit tricky due to asynchronous (thread based!) processing in Browsers
This is seen in reloading JavaScript pages. This produces unclear results as different frames and associated JavaScript variables are set in adifferent order from that in which multi-frame system was built!
  • Often get "false" errors as variables not set "in time"
Note that when you set location field in a window, with a JavaScript command such as:
  • window.location = "newurl";
Then following commands are executed immediately and do not wait wait for new page to be loaded!



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 Sat May 24 1997