Hey all, writing some code but keep getting a javascript related "Not Implemented" error.

The code is

window.onload=setTimeout('loadAll()',10);

The code works fine but the error is annoying in that "An error has occured.." keeps popping up. Oh how I love cross browser coding. Anyways, any input is appreciated, thanks!

window.onload=function(){loadAllGen()}

function loadAllGen(){
    setTimeout('loadAll()',20);
}

That there be the code that fixed it.

kthxbai!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.