# Script Load Interactive Test (PHP used to delay two scripts)

This test checks to see if a function call can be associated with a specific script tag.

For non-IE 6-8 browsers, the script onload event may not fire right after the the script is evaluated. Kris Zyp found for IE though that in a function call that is called while the script is executed, it could query the script nodes and the one that is in "interactive" mode indicates the current script.

So this test tries to see to use interactive state if possible, and if that does not work, falls back to using script onload to associate the scripts.

Check the console for output. Expected result, all scripts are matched up with their calls.