"Andreas Neumann" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I read about the "JSONRequest" object
> (http://www.json.org/JSONRequest.html) currently
> this is just a proposal that perhaps will be implemented in a future
> browser?
I think it's reasonably unlikely, it's not a great model, and a more general
method for creating cross domain requests is likely to come out of a place
that actually writes browsers, rather than yahoo.
>> yes, that's it, or use new Function rather than eval, there's nothing
>> more
>> complicated, there are other ways of retrieving it - loading a new script
>> element which requires an extension to json, but allows cross domain.
>
> Do you have an example for this extension. I read that the MS
> XMLHTTPRequest object
> allows to access other domains and there are some workarounds for Mozilla.
> Or are you
> talking about another extension?
nope, in HTML:
callbackFunction=someFunc
s=document.createElement('script');
s.defer=true; //required for IE.
s.src="http://otherdomain.example.org/s.js";
then in s.js you have
callbackFunction( { jsonObj } );
Jim.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Home is just a click away. Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~->
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/