Opened 14 years ago

Closed 14 years ago

#4656 closed defect (invalid)

dojo.addOnLoad() fails with IE6 SP2

Reported by: guest Owned by: anonymous
Priority: high Milestone:
Component: Core Version: 0.9
Keywords: Cc: [email protected]
Blocked By: Blocking:


I'm trying to use the dojo.addOnLoad() function so my code will execute after dojo loads. This function works fine on Firefox, IE 7, and even IE 6 SP1; however, nothing happens on IE 6 SP2. Our web app supports IE6 SP2 and above, but I'm getting a blank page because my script has not been executed.

Note that I get the same result using dojo.connect(window, "onload", function(){alert("Hello")}).

Version: 6.0.3790.3959
Update Versions: SP2

<script type="text/javascript" src="dojo-0.9.0/dojo/dojo.js.uncompressed.js"></script>
<script type="text/javascript">

dojo.addOnLoad(function() {alert("Hello")});

This is a test of the dojo.addOnLoad() function.

Change History (3)

comment:1 Changed 14 years ago by James Burke

It seems to work fine for me on IE 6 SP2. Perhaps can you give more information? Is JavaScript? turned on? Does other JavaScript? work? Any yellow info bar on the top of the page (it can show up if you are running the test off of local disk)?

comment:2 Changed 14 years ago by guest

Looks like there may be some URL blocking going on. Sorry for the noise.

comment:3 Changed 14 years ago by Adam Peller

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.