|
|
Q584 How do I let all my scripts pre-load before they are executed?
irt.org | Knowledge Base | JavaScript | Document | Q584 [ previous next ] Q584 How do I let all my scripts pre-load before they are executed?Set a variable boolean flag to false at the top of your page, and then use the BODY tags onLoad event handler to set it to true, then when accessing your JavaScript functions you can check to see if the flag is true before continuing:
|
-- div -->
|