[jQuery] Re: How to make ajax call to subdomain

2009-12-10 Thread Satyakaran
you can call php file on the same domain and from that php file get data from your subdomain page using php. On Dec 10, 1:33 pm, Dominik wrote: > i'm pretty sure this wont work because of the "same origin policy" as > i already mentioned in another thread: > > http://groups.google.com/group/rail

[jQuery] Re: How to make ajax call to subdomain

2009-12-10 Thread Dominik
i'm pretty sure this wont work because of the "same origin policy" as i already mentioned in another thread: http://groups.google.com/group/railo/browse_thread/thread/cb189b4a9878c506 On 10 Dez., 01:53, PiotrJaniak wrote: > $.ajax({ >        url: "http://api.example.com";, >        success: func

[jQuery] Re: How to make ajax call to subdomain

2009-12-09 Thread PiotrJaniak
$.ajax({ url: "http://api.example.com";, success: function(html){ }}); On 10 Gru, 01:02, Kyle Decot wrote: > How do i make a ajax call using $.ajax(); to a subdomain on my > website. I'm calling $.ajax() fromwww.example.com& the url for the > call is api.example.com Thanks for any