PDA

View Full Version : onDocumentReady in IE6



reignman
7 Jan 2007, 7:15 AM
I have a huge bug in IE6 but just sometimes.

with the actual IE6 version and the most recent yui-ext from SVN ther seems to be a problem with the onDocumentReady event.

Don't know how to describe it. but I just used the line down there and in IE6 getEl returns null




var dd_contentTree = function(){
return {
init : function(){
layoutdiv = getEl('treelayout');

}
}
}();

YAHOO.ext.EventManager.onDocumentReady(dd_contentTree.init, dd_contentTree, true);


[/code]

jack.slocum
8 Jan 2007, 10:11 AM
I am going to need more info or a link... everything on this site uses that function and has no probs with ie6...

reignman
9 Jan 2007, 3:39 AM
hmmmm... i have to investigate it...
today i tried it on several different plazes,

but it works now.

cant tell you :)