[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 janiak.piot...@gmail.com wrote:
 $.ajax({
        url: http://api.example.com;,
        success: function(html){ }});

 On 10 Gru, 01:02, Kyle Decot ow...@affinityskateboards.com wrote:

  How do i make a ajax call using $.ajax(); to a subdomain on my
  website. I'm calling $.ajax() fromwww.example.comthe url for the
  call is api.example.com Thanks for any information you can provide me
  with.


[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 dominik.gee...@googlemail.com 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/railo/browse_thread/thread/cb189b4a987...

 On 10 Dez., 01:53, PiotrJaniak janiak.piot...@gmail.com wrote:

  $.ajax({
         url: http://api.example.com;,
         success: function(html){ }});

  On 10 Gru, 01:02, Kyle Decot ow...@affinityskateboards.com wrote:

   How do i make a ajax call using $.ajax(); to a subdomain on my
   website. I'm calling $.ajax() fromwww.example.comtheurl for the
   call is api.example.com Thanks for any information you can provide me
   with.


[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 ow...@affinityskateboards.com 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 information you can provide me
 with.