Monday, October 5, 2009

Re: Cross-site element with AJAX ? ? ? How can I ? ? ?

This call should produce request to http://yourdomain.ext/Countries/getCountries
always. And it will work only if cake installed into root of your
domain. If it is not so, you see some other request in firebug.

On Oct 5, 12:40 pm, DatacenterHellas <merianosni...@gmail.com> wrote:
> Is a reqular AJAX request that start working when my page is loaded.
>
> Because all the JavaScript is too long I will show you only the line
> that create the request.
>
> $.ajax(
>         {
>                 type: "GET",
>                 url: '/Countries/getCountries',   // <--- This is the line that
> describe the action that the AJAX will call
>                 success: function(xml)
>                 {
>                         (Code here ....)
>                 }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: