PDA

View Full Version : processing multiple request on an unload


Big Guy 60
11-14-2002, 06:17 PM
I am working on intergrating the SCORM API for a client.

I am close to completing the project but I am having an little issue.

What I have done is the API specs require that the window or object can call to an object "API" and send different calls to this object depending upon the function.

What I have done is I have a framed enviorment and on of the frames is called "API" that includes javascript to catch the calls then then process the information.


I am catching and processing call of the calls expect when the user closes the window. The course I am trying to intergrate has an unload function that sends three calls to the API frame, and I only process the last on.

If I place an Alert function in the process, I see all three calls.

With out the Alert function in the middle, I only regester the last call.

Any help would be great.