[jQuery] Re: Can the $.ajax(properties) go across domains?

2007-08-25 Thread SeViR
Pops escribió: SeVir, Just a small note, this is cool for trusted requests which you initiate. But IE 6.0 and Opera 9.10 doesn't like it. Should it work under IE and Opera? I explain this technique in my Web Services with JavaScript course. Tested in: Firefox 1.0 + (Win Lin) IE 5.5, 6

[jQuery] Re: Can the $.ajax(properties) go across domains?

2007-08-25 Thread SeViR
I had some problems inserting dinamically script tags in IE, Opera, ... with jQuery append() method. Using DOM native method works well :-) $(head)[0].appendChild(script_call); //My example instead of: $('head',document).append( script ); //JSON for jQuery Pops escribió: On Aug 24,

[jQuery] Re: Can the $.ajax(properties) go across domains?

2007-08-25 Thread SeViR
Pops escribió: On Aug 24, 12:50 pm, Michael Geary [EMAIL PROTECTED] wrote: You can either use my JSON plugin, or similar code like José posted in his reply. http://mg.to/2006/01/25/json-for-jquery Mike, When I used your plugin, IE 6.0 displays Error: Object doesn't support

[jQuery] Re: Can the $.ajax(properties) go across domains?

2007-08-25 Thread Michael Geary
From: Michael Geary You can either use my JSON plugin, or similar code like José posted in his reply. http://mg.to/2006/01/25/json-for-jquery From: Pops When I used your plugin, IE 6.0 displays Error: Object doesn't support this property or method Opera 9.1 also fails. The same

[jQuery] Re: Can the $.ajax(properties) go across domains?

2007-08-24 Thread SeViR
[EMAIL PROTECTED] escribió: I'm trying to get a json object from a sub-domain but keep getting a error (cross-domain / cross-site scripting error). Any ideas, can the $.ajax(properties) function handle jsonp? A sample of my code can be viewed at

[jQuery] Re: Can the $.ajax(properties) go across domains?

2007-08-24 Thread [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. Do you know if there is a plug-in that works like the $.ajax(properties) function but for cross-domains?

[jQuery] Re: Can the $.ajax(properties) go across domains?

2007-08-24 Thread Michael Geary
From: [EMAIL PROTECTED] I'm trying to get a json object from a sub-domain but keep getting a error (cross-domain / cross-site scripting error). Any ideas, can the $.ajax(properties) function handle jsonp? A sample of my code can be viewed at

[jQuery] Re: Can the $.ajax(properties) go across domains?

2007-08-24 Thread Pops
On Aug 24, 12:50 pm, Michael Geary [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] You can either use my JSON plugin, or similar code like José posted in his reply. http://mg.to/2006/01/25/json-for-jquery Mike, When I used your plugin, IE 6.0 displays Error: Object doesn't support

[jQuery] Re: Can the $.ajax(properties) go across domains?

2007-08-24 Thread [EMAIL PROTECTED]
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: