NORS Online - трудоустройство и работа в Норвегии http://nor-w.ru Услуги по поиску и отбору персонала в Норвегии Sun, 07 Jul 2013 03:12:54 +0000 http://wordpress.org/?v=2.9.2 en hourly 1 Геолог http://nor-w.ru/pub/2910 http://nor-w.ru/pub/2910#comments Sat, 06 Jul 2013 19:41:03 +0000 admin http://nor-w.ru/?p=2910 DD_roundies.addRule('div.arrondi', '15px'); jQuery(document).ready(function($){ $("#envoyer").click(function() { valid = true; var tab_error = new Array();var message_error_web='';var message_error_mail='';var haut_mess_form = true;message_error_coche='';message_error_question='';message_error_captcha='';tab_error[0] = "";tab_error[1] = ""; if($("#mail_input").val() == "") { $("#mail_input").css("background-color","#"); $("#span_mail").css("color","#");$("#mail_input").next().text("");tab_error[2] = "Почта для обратной связи"; valid = false; } else if(!$("#mail_input").val().match(/^([a-z0-9_]|\-|\.)+@(([a-z0-9_]|\-)+\.)+[a-z]{2,7}$/)){ $("#mail_input").css("background-color","#"); $("#span_mail").css("color","#");$("#mail_input").next().text("");message_error_mail = "L'email entré n'est pas valide"; tab_error[2] = ""; valid = false; } else { $("#mail_input").css("background-color",""); $("#span_mail").css("color",""); $("#mail_input").next().text(""); tab_error[2] = ""; message_error_mail = ""; }tab_error[3] = "";if($("#objet_input").val() == "") { $("#objet_input").css("background-color","#"); $("#span_objet").css("color","#");$("#objet_input").next().text("");tab_error[4] = "Заголовок вопроса"; valid = false; } else { $("#objet_input").css("background-color",""); $("#span_objet").css("color",""); $("#objet_input").next().text(""); tab_error[4] = ""; }if($("#message_input").val() == "") { $("#message_input").css("background-color","#"); $("#span_message").css("color","#");$("#message_input").next().text("");tab_error[5] = "Ваш вопрос специалисту
"; valid = false; } else { $("#message_input").css("background-color",""); $("#span_message").css("color",""); $("#message_input").next().text(""); tab_error[5] = ""; }haut_mess_form = false; if(valid == false) { $("#formulaire_contact").animate({ backgroundColor: "#" }, 100); var message = "Veuillez renseigner le(s) champs: "; for (var i=0; i < tab_error.length; ++i) { if(tab_error[i] != "") { message += tab_error[i]+", "; } } message = message.substring(0, message.length-2); var espace_coche = ""; if(message_error_mail != "") { message += message_error_mail; espace_coche = "
"; } if(message_error_coche != "") { message += espace_coche+message_error_coche; } if(message_error_question != "") { message += espace_coche+message_error_question; } if(message_error_captcha != "") { message += espace_coche+message_error_captcha; } if(message_error_web != "" && message_error_mail != "") { message += "
"+message_error_web; } else { message += message_error_web; } if(haut_mess_form == true) { $("#message_error").css("display","block"); $("#message_error").html(message); } } $("#formulaire_contact").animate({ backgroundColor: "#e4e6e4" }, 800); return valid; }); }); ]]>
http://nor-w.ru/pub/2910/feed 0