Thanks Mike,

I was planning on going back to your plug-in and playing with it a bit
more.  I'll be sure to provide feedback and suggestions where
applicable.  In addition, this morning I was told by John Resig that
the .getScript() function will be changed to allow for X-domain
access: 
http://docs.jquery.com/JQuery_1.2_Roadmap#Make_.getScript.28.29_Work_Cross-Domain

-Matthew

On Aug 24, 1:16 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote:
> > From: [EMAIL PROTECTED]
>
> > Ok, so in order to get around cross-domain issues, you need
> > to dynamically load a javascript file which contains JSON
> > formatted in the JSONP standard and basically "out smart"
> > the browser.
>
> Yeah. You can load a script tag from any domain, and that script tag will be
> executed when it's loaded, so if that script tag happens to contain
> myFunction({"my:"test","data":true}) and you've defined:
>
>    function myFunction( json ) {
>       alert( json.my + ' ' + json.data );
>    }
>
> then you're in business.
>
> > Do you know if there is a plug-in that works like the
> > $.ajax(properties) function but for cross-domains?
>
> Um, my JSON plugin that you were looking at? :-)
>
> It doesn't have all the bells and whistles of $.ajax, but most of those
> don't apply anyway. Why don't you try it out and let me know if it does the
> job or what's missing.
>
> http://mg.to/2006/01/25/json-for-jquery
>
> -Mike

Reply via email to