Hi burntber,
I ran the registerOnLoadHandler function and I think I know what's going on. When calling this function, are you adding parentheses to your callback function like this:
gadgets.util.registerOnLoadHandler(response());
What is going on here is that response is running and the return value is being run as the callback function, thus E[l] is not a function. This is the error I saw when I tried adding the parentheses. What you need to do is just pass in the name of the function like so:
gadgets.util.registerOnLoadHandler(response);
Hopefully that's the issue, if not let me know.
Jonathan LeBlanc
Senior Software Engineer
Yahoo! Developer Network
I get the following error when using gadgets.util.registerOnLoadHandler to call my onLoad function:
Error: E[I] is not a function
Source File: http://l.yimg.com/kj/yap/combo?/common/js/...jzEFXUKkxxQ-.js
Line: 28
If I make a normal call my onLoad function without using gadgets.util.registerOnLoadHandler, it works fine without the error.
What's up?