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 <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to