Archives du tag : summer recipes
(English) Summer is a time for grilling. Using foods that are in season helps to keep your meals delicious …
Leer más
categorías: Asar, Recetas | Tags : corn, peaches, rhubarb, seasonal eating, squash, summer recipes |
');
return false;
} else {
// Sending the data
var data = {
action: 'send_international_sales_email',
first_name: first_name,
last_name: last_name,
user_email: user_email,
postal_code: postal_code,
state_province: state_province,
user_message: user_message,
user_lang: user_lang,
user_ip: user_ip,
};
$('#intl-submit-the-form').hide();
// LOAD SPIN GIF $(".ajaxsave").show();
var $resultEmail = $.post("http://cookina.co/blog/wp-admin/admin-ajax.php", data,
function(response){
//$(".ajaxsave").hide();
$('#intl-submit-the-form').show();
$('#send-international-contact-email .mandatory').css('border', '1px solid #959595');
var return_message = "Unknown error.";
var the_response = parseInt(response);
switch(the_response) {
case 100:
return_message = "Su mensaje ha sido enviado con éxito. ¡Gracias!";
break;
case 109:
return_message = "Su mensaje ha sido enviado con éxito. ¡Gracias!
Aviso: su email ya está suscrito a la lista de correos.
";
break;
case 404:
return_message = "
Se produjo un problema al intentar mandar su mensaje. Por favor, inténtelo de nuevo más tarde.
";
break;
default:
return_message = "
An error occured.
";
}
$("#intl_response").html(return_message);
});
setTimeout(function(){
$("#send-international-contact-email").unbind('submit');
$("#send-international-contact-email").submit();
}, 2500); //end of setTimeout
//$("#intl_response").html("Su mensaje ha sido enviado con éxito. ¡Gracias!");
return false;
}
});
});
/* ]]> */