The information in this article applies to:
SYMPTOMSThe window_onload event fails to fire when the page is loaded. CAUSEYou will see this behavior when either of the following is true:
RESOLUTIONIf the Scripting Object Model is enabled or the body is enclosed in a form, use the following workaround:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONWhen creating a script block designated for the Window_Onload event, no function() header is required. The following code would bring up an alert when the page is loaded:
Steps to Reproduce Behavior
-or- Additional query words:
Keywords : kbCtrl kbVisID600 kbVisID600bug kbGrpASP |
Last Reviewed: May 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |