dojo tells you: mll[x] is not a function
Yeah I had that too today, it really sucks getting such JS errors. The error I made was simply that I called
dojo.addOnload("functionName")
instead of
dojo.addOnload(functionName)
don’t quote the function name, as you would in some other cases. Nice hacking …
Raju said,
September 18, 2008 at 3:07 pm
ThanQ Very Much
Pravin said,
October 6, 2008 at 7:38 pm
Thanks,
Had a similar issue where I was using
dojo.addOnLoad(loadValues(’view’));
which I replaced with
dojo.addOnLoad(function (){loadValues(’view’)});
and this solved the javascript error.
Kunal said,
August 18, 2009 at 2:21 pm
Thanks to you guys this solved a critical issue for my app.
mike said,
November 7, 2009 at 8:20 pm
Hey thanks I spent an hour trying to figure out why my function would work in firebug directly but not onLoad!