1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
| function maj()
{
var mail = document.formulaire.mail.value;var mail2 = document.formulaire.mail2.value;var jour = document.formulaire.jour.value;var mois = document.formulaire.mois.value;var annee = document.formulaire.annee.value;var nomp = document.formulaire.nomp.value;var prenom = document.formulaire.prenom.value;
if(mail!='' && mail2!='' && mail==mail2 && nomp!='' && prenom!='')
{
_advst_coreg_redir_url = ""; // url de destination du programme (facultatif)
_advst_coreg_redir_txt = "Suivant >>";
_clickCoreg = function (nb_sel, nb_unsel) { if (nb_unsel == 0) { window["validerCoreg"] = function () { document.location.href = "register2.php" } }};
_advst_coreg_bordure = "#FFFFCC";
_advst_coreg_separateur = "#CCCCCC";
_advst_coreg_texte = "#000000";
_advst_coreg_fond = "#FFFFCC";
_advst_coreg_email = "test@siteweb.com"; // Email
_advst_coreg_nom = "boutier"; // Nom
_advst_coreg_prenom = "antoine"; // Prénom
_advst_coreg_sexe = "H"; // Sexe (H, F)
_advst_coreg_jour = "24"; // Jour de naissance
_advst_coreg_mois = "11"; // Mois de naissance
_advst_coreg_annee = "1987"; // Année de naissance
var tag=document.createElement('script');
tag.setAttribute('type','text/javascript');
tag.setAttribute('src','test2.js');
tag.setAttribute('async','true');
var elt=document.getElementById('majeur');
elt.appendChild(tag);
return false;
}} |