function onSubmitForm() { //alert('onSubmitForm') disableSubmit(); reloadGuaranteeInfo(); return false; } function reloadIndicativeInfo() { //alert('reloadIndicativeInfo'); // Vide les info indicatives if ($('reloadindicativeinfo')) $('reloadindicativeinfo').innerHTML = ''; // Vide les message d'erreur if ($('reloaderrormessage')) $('reloaderrormessage').innerHTML = ''; var url = getUrlWithFormParameter('reloadIndicativeInfo.do'); //alert('reloadIndicativeInfo:'+url); new Ajax.Updater({success:'reloadindicativeinfo', failure:'page'}, url, { method: 'get', evalScripts: true } ); } function reloadGuaranteeInfo() { //alert('reloadGuaranteeInfo'); // Vide le délai garantie if ($('reloadguaranteeinfo')) $('reloadguaranteeinfo').innerHTML = ''; // Vide les message d'erreur if ($('reloaderrormessage')) $('reloaderrormessage').innerHTML = ''; var url = getUrlWithFormParameter('reloadGuaranteeInfoDepot.do'); //alert('reloadGuaranteeInfo:'+url); new Ajax.Updater({success:'reloadguaranteeinfo', failure:'page'}, url, { method: 'get', evalScripts: true } ); } function reloadCpDest() { // Recharge le code postal de destination reloadCpDestination(); } function onChangePaysDest() { // Vide le champ code postal de destination if ($('cpDest')) $('cpDest').value=''; // Recharge les informations indicatives reloadIndicativeInfo(); } // Initialisation de JQuery pour le calendrier init_JQuery();