[jQuery] Re: Do you figure out how to do this?

2009-03-20 Thread Adrian Grigoras
So if I use a reverse proxy it will work.In this case there will be seen as a single domain. On Mar 20, 5:24 am, James james.gp@gmail.com wrote: No, I believe that calling example1.mydomain.com from example2.mydomain.com will still not work. That is also considered a separate domain.

[jQuery] Re: Do you figure out how to do this?

2009-03-20 Thread Marco Elisio Oliveira Jardim
You need a JSONP callback for this: http://docs.jquery.com/Getjson But the other web app must support it... _ Lois Griffin: I’m a naughty girl and I need a spanking! Peter Griffin: And I'm a paladin with 18 charisma and 97 hit-points, I can use my helm of

[jQuery] Re: Do you figure out how to do this?

2009-03-19 Thread MorningZ
I'm not sure who you are replying to, but regardless, the $.ajax code cannot call another domain you'll have to use an iframe tag or work out something on your server side code to call the remote domain and then call that code from your javascript (pretty much using your server/code as a proxy)

[jQuery] Re: Do you figure out how to do this?

2009-03-19 Thread Adrian Grigoras
If the call in in the same domain, but on another machine, it will work? For example, call example1.mydomain.com from example2.mydomain.com Thanks On Mar 19, 3:36 pm, MorningZ morni...@gmail.com wrote: I'm not sure who you are replying to, but regardless, the $.ajax code cannot call another

[jQuery] Re: Do you figure out how to do this?

2009-03-19 Thread MorningZ
The only thing the browsers care about is the domain name On Mar 19, 10:47 am, Adrian Grigoras adrianc.grigo...@gmail.com wrote: If the call in in the same domain, but on another machine, it will work? For example, call example1.mydomain.com from example2.mydomain.com Thanks On Mar 19,

[jQuery] Re: Do you figure out how to do this?

2009-03-19 Thread James
No, I believe that calling example1.mydomain.com from example2.mydomain.com will still not work. That is also considered a separate domain. On Mar 19, 4:47 am, Adrian Grigoras adrianc.grigo...@gmail.com wrote: If the call in in the same domain, but on another machine, it will work? For