ok, here is my attempt at dealing with this "callback" issue:

http://mayacove.com/dev/json/userspc.html
(again, this needs to work in my localhost, where it's a remote domain, am just posting here to show my code... and it's not working in my localhost....)

in localhost get exactly same error as you get when you run it in above url....


I'm using the first approach Paul posted, as I'm not connecting to any back-end....

is the callback fn called automatically onload?

or do I have to call it onload (inside document.ready() thingie?)

still confused about this....