Menu
PRODUCTS
RECIPES AND TIPS
THE GROUP
QUALITY AND SAFETY
View jobs
(*Required Field)
Please complete all mandatory fields before you send off the form.
Your message has been sent
Last name *
First name *
Email *
Address
City *
Profession *
CV *
Letter of motivation
* Please complete all mandatory fields before you send off the form
Privacy Policy / © KOUTOUBIA 2015
Promos
PRODUCTS
RECIPES AND TIPS
THE GROUP
QUALITY AND SAFETY
$(function() { $('#slides').superslides({ hashchange: true }); $(".err_msg").click(function(){ $(this).hide("fast"); }); $("#send").click(function(){ var nom = $("#nom").val(); var prenom = $("#prenom").val(); var societe = $("#societe").val(); var tel = $("#tel").val(); var email = $("#email").val(); var adresse = $("#adresse").val(); var ville = $("#ville").val(); var msg = $("#msg").val(); //var dataString = 'Nom='+ nom + '
Prenom='+ prenom+ '
societe='+ societe+ '
tel='+ tel+ '
email='+ email+ '
adresse='+ adresse+ '
ville='+ ville+ '
msg='+ msg; var monTabe = []; monTabe[0] = nom; monTabe[1] = prenom; monTabe[2] = societe; monTabe[3] = tel; monTabe[4] = email; monTabe[5] = adresse; monTabe[6] = ville; monTabe[7] = msg; if(nom==''||prenom==''||tel==''||email==''||ville==''||msg=='') { $(".err_msg_red").show("slow"); $(".err_msg_green").hide("slow"); } else { $(".err_msg_red").hide("slow"); // AJAX Code To Submit Form. $.ajax({ type: "POST", url: "sendmail.php", data: {monTabe:monTabe}, cache: false, success: function(result){ if(result=="OK"){ $(".err_msg_green").show("slow"); }else{ $(".err_msg_red").html("erreur d'envoi"); $(".err_msg_red").show("slow"); $(".err_msg_green").hide("slow"); } } }); } return false; }); });