il faut remarquer que ton site est installé dans un sous-dossier, ce que CakePHP
peut faire correctement, mais il faut faire attention aux url.

Le plus simple est d'utiliser le helper $html.
$html->url("/nom_du_controller/getDomiciliationFromOfficeAjax");

$("#PaymentOfficeId").change( function () {
        $.post("<?php echo
$html->url("/nom_de_mon_controller/getDomiciliationFromOfficeAjax")?>",
{
id: $("#PaymentOfficeId").val(),
lang : $("#LanguageCode").val()},
function(data) { $("#listeDomiciliation").html(data)} );
        $("#listeDomiciliation").show('slow');
});

--~--~---------~--~----~------------~-------~--~----~

Groupe "Cakephp-fr".
Adresse : cakephp-fr@googlegroups.com
Pour résilier  : cakephp-fr-unsubscr...@googlegroups.com
Pour les options : http://groups.google.com/group/cakephp-fr?hl=fr
-~----------~----~----~----~------~----~------~--~---

Répondre à