Using IE9 (9.0.8112.16421) I receive the following error in the debugger while running the script I'm working on:
"Unable to get value of the property 'toLowerCase': object is null or undefined"
in the following function:
function ExecuteOrDelayUntilScriptLoaded(func, depScriptFileName)
{ULSxSy:;
depScriptFileName=depScriptFileName.toLowerCase();
var eventName="sp.scriptloaded-"+depScriptFileName;
return ExecuteOrDelayUntilEventNotified(func, eventName);
}
Any idea what is going on here?
ExecuteOrDelayUntilScriptLoaded
? Or if this error appears when trying to use it with oob sharepont file (ExecuteOrDelayUntilScriptLoaded(function(){...}, "sp.js")
for example)?