Solved

Set Input value by Javascript ?

Posted on 2001-09-05
21
373 Views
Last Modified: 2012-06-21
Hi, I'm tring to set the value of some input of a form by this way :

<%
If Request.QueryString("Update") <> "" then
'situation ou la personne recois un email et vien sur le site completer c'Est info
     %>
     <SCRIPT LANGUAGE=javascript>
     <!--
     function UpdateOnload() {
     <%
     For each Item in Request.QueryString
          if Item <> "Update" then
          %>
          document.form1.<%=Item%>.Value = "<%=Request.QueryString(Item)%>";
          <%
          end if
     Next
     %>
     }
     
     //-->
     </SCRIPT>
     <%
     
End if
%>

</HEAD>
<BODY <%If Request.QueryString("Update") <> "" then %> onload="UpdateOnload()" <%end if%>>
<BR>

Dont worry about the ASP code. Actually the problem is that input value does not change the value of the input in the page ! What i'm doing wrong ?
0
Comment
Question by:Swimman
  • 11
  • 5
  • 4
  • +1
21 Comments
 
LVL 3

Expert Comment

by:davlun20080
ID: 6457841
I would check to make sure the name of your forms and fields exactly match the names you are using in your script and what you are pulling out of the querystring.  Javascript is case sensitive and since it seems that what you are doing would work, i think that may be the problem.
0
 
LVL 46

Expert Comment

by:fritz_the_blank
ID: 6457847
eval("document.form1." + <%=Item%> + ".Value") = "<%=Request.QueryString(Item)%>";

Fritz the Blank
0
 

Author Comment

by:Swimman
ID: 6457875
The name of my form and the name of the field are exacly the same.

Fritz the Blank : i tried what you wrote and it doesn't work. I had error result
0
 

Author Comment

by:Swimman
ID: 6457886
the error result is "Cannot assign to a function result"
0
 

Author Comment

by:Swimman
ID: 6457893
the error result is "Cannot assign to a function result"
0
 
LVL 46

Expert Comment

by:fritz_the_blank
ID: 6457900
Try:

var strField, strValue
strField = <%=Item%>
strValue = <%=Request.QueryString(Item)%>

eval("document.form1." + strField + ".value") = strValue

or

eval("document.form1." + strField + ".value =" strValue)


Fritz the Blank
0
 

Author Comment

by:Swimman
ID: 6457927
same error !
0
 
LVL 3

Expert Comment

by:davlun20080
ID: 6457936
Can you post the outputed html to the page,just view source and paste it up.
0
 

Author Comment

by:Swimman
ID: 6457941
actually the code i post initialy have no synthax error it just dosn't change the fields value in the form
0
 

Author Comment

by:Swimman
ID: 6457947

<HTML>
<HEAD>
<TITLE>Groupe Voyage Hone</TITLE>
<META NAME="Description" CONTENT="Voyagez en confiance avec le Groupe Voyage Hone, depuis 1911">
<META NAME="Keywords" CONTENT="Voyage avion airplane travel trip paris londre sud  south plage beach boat bateau croisiere voyager traveling sport golf billet ticket air canada canadair clubmed soleil bronzage deals forfait tower newyork">
<META NAME="Author" CONTENT="MtlTek et ViaWebTech">
<meta name="revisit-after" content="15 days">

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin Fonction de validation

function ValiderJour(objDay, objMonth, objAn)
{
      if (objAn.value > 1899 && objAn.value < 2051 ) {      
            switch(objMonth.value)
            {
                  case '2':      {
                              //correctif pour ann?e bisextile
                              if (objAn.value%4 ==0){maxDay=29}
                              else maxDay=28;
                            break;
                            }//f?vrier 28 0u 29
                  case '4': {
                              maxDay=30;
                            break;
                            }//avril
                  case '6': {
                              maxDay=30;
                            break;
                            }//juin
                  case '9': {
                              maxDay=30;
                            break;
                            }//septembre
                  case '11': {
                              maxDay=30;
                            break;
                            }//novembre
                  default :{
                                maxDay=31;
                                }
            }
            if (objDay.value>maxDay )
                  {
                  alert('Ce mois peut au maximum contenir ' + maxDay + ' jours');
                  objDay.value = '' ;
                  }
      }
      else {
      alert('L\'ann?e que vous avez entr?e est invalide ! Veuillez entrer une ann?e comprise entre 1900 et 2050.');
      objAn.value = '' ;
      }
}


function checkForm(myForm) {
if (myForm.strNom.value != ""
      && myForm.strPrenom.value != ""
      && myForm.strSexe.value != ""
      && myForm.dtNaissanceJour.value != ""
      && myForm.dtNaissanceMois.value != ""
      && myForm.dtNaissanceAn.value != ""
      && myForm.strOccupation.value != "Choisissez..."
      && myForm.strAdresse.value != ""
      && myForm.strVille.value != ""
      && myForm.strProvince.value != "Choisissez..."
      && myForm.strPays.value != "Choisissez..."
      && myForm.strCP.value != ""
      && myForm.strTelephone.value != ""
      && myForm.strEmail.value != ""
      && myForm.strEmail.value != "vous@courriel.ca   (exemple)"
      && myForm.strBudget.value != "Budget  $CAD par personne"
      && myForm.strDureeMoyenneDuVoyage.value != "Habituellement..."
      && myForm.strVoyageParAnnee.value != "Vous voyagez..."
      && myForm.strSaisonFavorite.value != "Vous pr?f?rez..."
      && myForm.strInteret1.value != "Vous aimez..."
      && myForm.strDestination1.value != "Vous aimez..."
      && myForm.strReserve.value != "G?n?ralement..."
      && myForm.strEtatCivil.value != "Vous ?tes..."
      && myForm.strRappel.value != "Mariage, anniversaire, prochain voyage, etc..."
      && myForm.strRappel.value != ""
      && myForm.dtRappelJour.value != ""
      && myForm.dtRappelMois.value != ""
      && myForm.dtRappelAn.value != ""
      )
      {
            if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(myForm.strEmail.value))
            {
            return (true)
            }
            else
            {
            alert("Adresse de courriel incorrecte! Veuillez entrer votre adresse de courriel!")
            return (false)
            }
      }

alert("Vous devez compl?ter obligatoirement les Champs marqu?s d'un *")
return (false)
}
//  End Fonction de validation -->
</script>


      <SCRIPT LANGUAGE=javascript>
      <!--
      function UpdateOnload() {var strField, strValue
      
            
            strField = "strNom"
            strValue = "test"
            //eval("document.form1." + strField + ".value") = strValue
            eval("document.form1." + strField + ".value =" strValue)
            alert("hello")
      }
      
      //-->
      </SCRIPT>
      

</HEAD>
<BODY  onload="UpdateOnload()" >
<BR>
<!-- D?but du code ? ins?rer dans votre page web -->
<form  method="POST" name=form1 ENCTYPE="multipart/form-data" ACTION="ins.asp?submited=TRUE" onSubmit="return checkForm(this)">
<CENTER>
<font face="Arial MT" color="#47B0C7" size=1>L&eacute;gende : * = Champ obligatoire</font>
<br>
<table border=1 bordercolor="#168B9C">
    <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Nom:</font></td>
        <td><input type="text" name="strNom" id="strNom" size="38" maxlength="50" onKeypress="if ((event.keyCode > 32 && event.keyCode < 48) || (event.keyCode > 57 && event.keyCode < 65) || (event.keyCode > 90 && event.keyCode < 97)) event.returnValue = false;">
        <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
    <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Pr&eacute;nom:</font></td>
        <td><input type="text" name="strPrenom" size="38" maxlength="50" onKeypress="if ((event.keyCode > 32 && event.keyCode < 48) || (event.keyCode > 57 && event.keyCode < 65) || (event.keyCode > 90 && event.keyCode < 97)) event.returnValue = false;">
        <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Vous &ecirc;tes:</font></td>
      <td>
      <INPUT type=radio name="strSexe" value="Homme"><font face="Arial MT" color="#168B9C" size=2>Un homme </font><INPUT type=radio name="strSexe" value="Femme"><font face="Arial MT" color="#168B9C" size=2>Une femme </font>
      <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
      </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Date de naissance:</font></td>
        <td>
<font face="Arial MT" color="#168B9C" size=2>&nbsp;Ann?e&nbsp;</font><input name="dtNaissanceAn" type="text"  size="4" maxlength=4 onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;">
<font face="Arial MT" color="#168B9C" size=2>&nbsp;Mois&nbsp;</font><select name="dtNaissanceMois" >
    <option value=1>1</option>
    <option value=2>2</option>
    <option value=3>3</option>
    <option value=4>4</option>
    <option value=5>5</option>      
    <option value=6>6</option>    
    <option value=7>7</option>
    <option value=8>8</option>
    <option value=9>9</option>
    <option value=10>10</option>
    <option value=11>11</option>      
    <option value=12>12</option>
  </select>

<font face="Arial MT" color="#168B9C" size=2>&nbsp;Jour&nbsp;</font><input name="dtNaissanceJour" type="text" value="" size="2" maxlength=2 onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" onblur="return ValiderJour(dtNaissanceJour, dtNaissanceMois, dtNaissanceAn)">

<FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>

      
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Occupation:</font></td>
      <td><select name="strOccupation">
    <option selected >Choisissez...</option>
    <option>Professionnel(M&eacute;dical, L&eacute;gal, etc.)</option>
    <option>Enseignant(e)/?ducation/Formation </option>
    <option>Comptabilit&eacute;/Finance </option>
    <option>Conseil</option>
    <option>?tudiant</option>
    <option>Commercant </option>
    <option>Au foyer </option>
    <option>Informatique </option>
    <option>Ing&eacute;nieur</option>
    <option>Web Master/Internet </option>
    <option>Artisan/Marchand </option>
    <option>Organisation gouvernementale/Militaire </option>
    <option>Recherche et D&eacute;veloppement </option>
    <option>Technicien </option>
    <option>Vente/Marketing</option>
    <option>Autre </option>
  </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Revenu familial annuel:</font></td>
      <td><select name="strRevenue">
<option value="">Choisissez...</option>
<option>moins de 20 000 $</option>
<option>entre 20 000 $ et 24 999 $</option>
<option>entre 25 000 $ et 29 999 $</option>
<option>entre 30 000 $ et 34 999 $</option>
<option>entre 35 000 $ et 39 999 $</option>
<option>entre 40 000 $ et 44 999 $</option>
<option>entre 45 000 $ et 49 999 $</option>
<option>entre 50 000 $ et 54 999 $</option>
<option>entre 55 000 $ et 59 999 $</option>
<option>entre 60 000 $ et 64 999 $</option>
<option>entre 65 000 $ et 69 999 $</option>
<option>entre 70 000 $ et 74 999 $</option>
<option>entre 75 000 $ et 79 999 $</option>
<option>entre 80 000 $ et 84 999 $</option>
<option>entre 85 000 $ et 89 999 $</option>
<option>entre 90 000 $ et 94 999 $</option>
<option>entre 95 000 $ et 99 999 $</option>
<option>100 000 $ ou plus</option>
<option>Pas de r?ponse</option>
      </select></td>
<tr>
<td><font face="Arial MT" color="#168B9C" size=2>Niveau de scolarit&eacute;:</font></td>
<td>
<select name="strScolarite"><option selected value="">Choisissez...</option>
<option >Primaire</option>
<option>Secondaire</option>
<option>Coll?gial</option>
<option>Universitaire</option>
<option>Post-universitaire</option>
<option>Pas de r?ponse</option>
</select>
</td>
</tr>
      
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Adresse:</font></td>
      <td><input type="text" name="strAdresse" size="38" maxlength="255">
      <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Ville:</font></td>
      <td><input type="text" name="strVille" size="38" maxlength="50" >
       <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Province:</font></td>
      <td><select name="strProvince">
    <option selected >Choisissez... &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
    <option>Qu&eacute;bec </option>
    <option>Ontario </option>
    <option>Manitoba </option>
    <option>Saskatchewan</option>
    <option>Alberta </option>
    <option>Colombie-Britannique </option>
    <option>&Icirc;le-du-Prince-&Eacute;douard </option>
    <option>Nouveau-Brunswick </option>
    <option>Nouvelle-&Eacute;cosse </option>
    <option>Terre-Neuve </option>
    <option>Territoires du Nord-Ouest </option>
    <option>Territoire du Yukon </option>
    <option>Nunavut </option>
    <option>Labrador </option>
  </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Pays:</font></td>
      <td><select name="strPays">
<option >Choisissez...</option>
<option>Canada</option>
<option>France</option>
<option>Belgique</option>
<option>&Eacute;tats-Unis</option>
<option>Afghanistan</option>
<option>Afrique du sud</option>
<option>Albanie</option>
<option>Alg&eacute;rie</option>
<option>Allemagne</option>
<option>Andorre</option>
<option>Angola</option>
<option>Anguilla</option>
<option>Antilles n&eacute;erlandaises</option>
<option>Arabie saoudite</option>
<option>Argentine</option>
<option>Arm&eacute;nie</option>
<option>Australie</option>
<option>Autriche</option>
<option>Azerbaijan</option>
<option>Bahamas</option>
<option>Bahrein</option>
<option>Bangladesh</option>
<option>Belarus</option>
<option>Belgique</option>
<option>Belize</option>
<option>Benin</option>
<option>Bermudes</option>
<option>Bhoutan</option>
<option>Bolivie</option>
<option>Bosnie-Herz&eacute;govine</option>
<option>Botswana</option>
<option>Br&eacute;sil</option>
<option>Brunei</option>
<option>Bulgarie</option>
<option>Burkina Faso</option>
<option>Burundi</option>
<option>C&ocirc;te d'ivoire</option>
<option>Cambodge</option>
<option>Cameroun</option>
<option>Canada</option>
<option>Cap Vert</option>
<option>Cayman (&icirc;les)</option>
<option>Chili</option>
<option>Chine (R&eacute;p. pop.)</option>
<option>Chypre</option>
<option>Colombie</option>
<option>Comores</option>
<option>Congo</option>
<option>Congo (RDC)</option>
<option>Cor&eacute;e, Nord</option>
<option>Cor&eacute;e, Sud</option>
<option>Costa Rica</option>
<option>Croatie</option>
<option>Cuba</option>
<option>Danemark</option>
<option>Djibouti</option>
<option>&Eacute;gypte</option>
<option>&Eacute;mirats arabes unis</option>
<option>&Eacute;quateur</option>
<option>&Eacute;tats-Unis</option>
<option>&Eacute;thiopie</option>
<option>El Salvador</option>
<option>Erythr&eacute;e</option>
<option>Espagne</option>
<option>Estonie</option>
<option>F&eacute;ro&eacute; (&icirc;les)</option>
<option>Fidji</option>
<option>Finlande</option>
<option>France</option>
<option>G&eacute;orgie</option>
<option>Gabon</option>
<option>Gambie</option>
<option>Ghana</option>
<option>Gibraltar</option>
<option>Gr&egrave;ce</option>
<option>Grenade</option>
<option>Groenland</option>
<option>Guadeloupe</option>
<option>Guam</option>
<option>Guatemala</option>
<option>Guin&eacute;e</option>
<option>Guin&eacute;e &eacute;quatoriale</option>
<option>Guin&eacute;e-Bissau</option>
<option>Guyana</option>
<option>Guyane</option>
<option>Haiti</option>
<option>Honduras</option>
<option>Hong Kong</option>
<option>Hongrie</option>
<option>Iceland</option>
<option>Inde</option>
<option>Indon&eacute;sie</option>
<option>Iran</option>
<option>Iraq</option>
<option>Irlande</option>
<option>Isra&euml;l</option>
<option>Italie</option>
<option>Jama&iuml;que</option>
<option>Japon</option>
<option>Jordanie</option>
<option>Kazakhstan</option>
<option>Kenya</option>
<option>Kirgizistan</option>
<option>Koweit</option>
<option>Laos</option>
<option>Lesotho</option>
<option>Lettonie</option>
<option>Liban</option>
<option>Liberia</option>
<option>Libye</option>
<option>Liechtenstein</option>
<option>Lituanie</option>
<option>Luxembourg</option>
<option>Mac&eacute;doine</option>
<option>Macao</option>
<option>Madagascar</option>
<option>Malaisie</option>
<option>Malawi</option>
<option>Maldives</option>
<option>Mali</option>
<option>Malte</option>
<option>Maroc</option>
<option>Martinique</option>
<option>Maurice</option>
<option>Mauritanie</option>
<option>Mayotte</option>
<option>Mexique</option>
<option>Micron&eacute;sie</option>
<option>Moldavie</option>
<option>Monaco</option>
<option>Mongolie</option>
<option>Montserrat</option>
<option>Mozambique</option>
<option>Myanmar (Birmanie)</option>
<option>N&eacute;pal</option>
<option>Namibie</option>
<option>Nicaragua</option>
<option>Niger</option>
<option>Nigeria</option>
<option>Norv&egrave;ge</option>
<option>Nouvelle-Cal&eacute;donie</option>
<option>Nouvelle-Z&eacute;lande</option>
<option>Oman</option>
<option>Ouganda</option>
<option>Ouzbekistan</option>
<option>P&eacute;rou</option>
<option>Pakistan</option>
<option>Panama</option>
<option>Papouasie Nouvelle-Guin&eacute;e</option>
<option>Paraguay</option>
<option>Pays-Bas</option>
<option>Philippines</option>
<option>Pologne</option>
<option>Polyn&eacute;sie fran&ccedil;aise</option>
<option>Porto Rico</option>
<option>Portugal</option>
<option>Qatar</option>
<option>R&eacute;publique centrafricaine</option>
<option>R&eacute;publique dominicaine</option>
<option>R&eacute;publique tch&egrave;que</option>
<option>R&eacute;union (&icirc;le de la)</option>
<option>Roumanie</option>
<option>Royaume-Uni</option>
<option>Russie</option>
<option>Rwanda</option>
<option>S&eacute;n&eacute;gal</option>
<option>Sahara occidental</option>
<option>Saint-Pierre et Miquelon</option>
<option>Sainte-H&eacute;l&egrave;ne</option>
<option>Sainte-Lucie</option>
<option>Samoa</option>
<option>San-Marin</option>
<option>Sao Tome et Principe</option>
<option>Seychelles</option>
<option>Sierra Leone</option>
<option>Singapour</option>
<option>Slov&eacute;nie</option>
<option>Slovaquie</option>
<option>Somalie</option>
<option>Soudan</option>
<option>Sri Lanka</option>
<option>Su&egrave;de</option>
<option>Suisse</option>
<option>Surinam</option>
<option>Swaziland</option>
<option>Syrie</option>
<option>TAAT</option>
<option>Taiwan</option>
<option>Tajikistan</option>
<option>Tanzanie</option>
<option>Tchad</option>
<option>Thailande</option>
<option>Timor oriental</option>
<option>Togo</option>
<option>Tonga</option>
<option>Trinit&eacute; et Tobago</option>
<option>Tunisie</option>
<option>Turkmenistan</option>
<option>Turquie</option>
<option>Tuvalu</option>
<option>Ukraine</option>
<option>Uruguay</option>
<option>Vanuatu</option>
<option>Vatican (Cit&eacute; du)</option>
<option>Venezuela</option>
<option>Vi&ecirc;tnam</option>
<option>Vierges (&icirc;les)</option>
<option>Wallis et Futuna</option>
<option>Y&eacute;men</option>
<option>Yougoslaviae</option>
<option>Zambie</option>
<option>Zimbabwe</option>
</select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
      </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Code postal:</font></td>
      <td><input type="text" name="strCP" size="10" maxlength="10" >
      <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>T&eacute;l.:</font></td>
      <td><input type="text" name="strTelephone" size="20" maxlength="20" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;">
      <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Courriel:</font></td>
      <td><input type="text" name="strEmail" size="38" maxlength="50" value="vous@courriel.ca   (exemple)">
      <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Qui est votre conseiller(e)?</font></td>
      <td><input type="text" name="strAgent" size="38" maxlength="50" value="" onKeypress="if ((event.keyCode > 32 && event.keyCode < 48) || (event.keyCode > 57 && event.keyCode < 65) || (event.keyCode > 90 && event.keyCode < 97)) event.returnValue = false;"></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C"><b>Information Voyage</b></font>
      </td>
      </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Le prix de votre dernier voyage?</font></td>
        <td><input type="text" name="strDepenserEn2000" size="38" maxlength="40" value="" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;"></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Budget de voyage: </font></td>
      <td><select name="strBudget">
    <option selected >Budget  $CAD par personne</option>
    <option>Moins de 1000$</option>
    <option>1001$ &agrave; 1500$</option>
    <option>1501$ &agrave; 2500$</option>
    <option>2501$ &agrave; 5000$</option>
    <option>5001$ et plus </option>
    <option>Cela d&eacute;pend du type de voyage</option>
  </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Vos voyages durent: </font></td>
      <td><select name="strDureeMoyenneDuVoyage">
    <option selected >Habituellement...</option>
    <option>1 semaine </option>
    <option>2 semaines </option>
    <option>3 semaines </option>
    <option>4 semaines et plus </option>
    <option>Cela d?pend du type de voyage</option>
  </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Dans une ann&eacute;e:</font></td>
      <td><select name="strVoyageParAnnee">
    <option selected >Vous voyagez...</option>
    <option>1 fois</option>
    <option>2 fois</option>
    <option>3 fois</option>
    <option>4 fois et plus </option>
    <option>Cela d?pend </option>
  </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Pour voyager:</font></td>
      <td><select name="strSaisonFavorite">
    <option selected >Vous pr&eacute;f&eacute;rez...&nbsp;</option>
    <option>L'&eacute;t&eacute; </option>
    <option>L'automne </option>
    <option>L'hiver </option>
    <option>Le printemps </option>
    <option>Cela d?pend </option>
  </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <!-- 000000000000000000000000000000000000000000000000000000000 -->
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Int?r?ts de voyages:</font></td>
      <td><select name="strInteret1">
    <option selected >Vous aimez...</option>
    <option>Le golf</option>
    <option>Les croisi&egrave;res</option>
    <option>L'aventure</option>    
      <option>Les voyages en famille</option>
    <option>Le tourisme de ville</option>
    <option>Les safaris-photos</option>
    <option>L'&eacute;cotourisme</option>
      <option>Les circuits accompagn&eacute;s</option>
      <option>Les voyages de c&eacute;libataires</option>
      <option>Les voyages de d&eacute;tente</option>
      <option>Les casinos</option>
      <option>Les forfaits &laquo; tout-inclus &raquo;</option>
      <option>Les voyages sportifs</option>
      <option>Les forfaits &laquo; Sant&eacute; &raquo;</option>
  </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Int?r?ts de voyages 2:</font></td>
      <td><select name="strInteret2">
    <option selected value="">Vous aimez aussi...</option>
    <option>Le golf</option>
    <option>Les croisi&egrave;res</option>
    <option>L'aventure</option>    
      <option>Les voyages en famille</option>
    <option>Le tourisme de ville</option>
    <option>Les safaris-photos</option>
    <option>L'&eacute;cotourisme</option>
      <option>Les circuits accompagn&eacute;s</option>
      <option>Les voyages de c&eacute;libataires</option>
      <option>Les voyages de d&eacute;tente</option>
      <option>Les casinos</option>
      <option>Les forfaits &laquo; tout-inclus &raquo;</option>
      <option>Les voyages sportifs</option>
      <option>Les forfaits &laquo; Sant&eacute; &raquo;</option>
  </select></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Int?r?ts de voyages 3:</font></td>
      <td><select name="strInteret3">
    <option selected value="">Et vous aimez aussi...</option>
    <option>Le golf</option>
    <option>Les croisi&egrave;res</option>
    <option>L'aventure</option>    
      <option>Les voyages en famille</option>
    <option>Le tourisme de ville</option>
    <option>Les safaris-photos</option>
    <option>L'&eacute;cotourisme</option>
      <option>Les circuits accompagn&eacute;s</option>
      <option>Les voyages de c&eacute;libataires</option>
      <option>Les voyages de d&eacute;tente</option>
      <option>Les casinos</option>
      <option>Les forfaits &laquo; tout-inclus &raquo;</option>
      <option>Les voyages sportifs</option>
      <option>Les forfaits &laquo; Sant&eacute; &raquo;</option>
  </select></td>
    </tr>
      <!-- 00000000000000000000000000000000000000000000000000000 -->
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Destination favorite:</font></td>
      <td><select name="strDestination1">
    <option selected >Vous aimez...</option>
    <option>Les destinations soleil</option>
    <option>L'Afrique</option>
    <option>L'Asie</option>
    <option>Les r&eacute;gions polaires</option>
    <option>L'Europe de l'Est</option>
      <option>L'Europe </option>
      <option>polynesie francaise</option>
      <option>L'Oc&eacute;anie</option>
      <option>L'Am&eacute;rique Central</option>
      <option>L'Am&eacute;rique du Sud</option>
  </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Destination favorite 2:</font></td>
      <td><select name="strDestination2">
    <option selected value="">Vous aimez aussi...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
    <option>les destinations soleil</option>
    <option>l'Afrique</option>
    <option>l'Asie</option>
    <option>les r&eacute;gions polaires</option>
    <option>l'europe (est)</option>
      <option>l'europe (ouest)</option>
      <option>polynesie francaise</option>
      <option>l'Oc&eacute;anie</option>
      <option>l'Am&eacute;rique central</option>
      <option>l'Am&eacute;rique du sud</option>
  </select></td>
    </tr>
      
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Destination favorite 3:</font></td>
      <td><select name="strDestination3">
    <option selected value="">Et vous aimez aussi...&nbsp;&nbsp;</option>
    <option>les destinations soleil</option>
    <option>l'Afrique</option>
    <option>l'Asie</option>
    <option>les r&eacute;gions polaires</option>
    <option>l'europe (est)</option>
      <option>l'europe (ouest)</option>
      <option>polynesie francaise</option>
      <option>l'Oc&eacute;anie</option>
      <option>l'Am&eacute;rique central</option>
      <option>l'Am&eacute;rique du sud</option>
  </select></td>
    </tr>
          
            <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Vos semaines de cong&eacute; cette ann&eacute;e:</font></td>
      <td><select name="strDateVacance">
    <option selected >2 premi&egrave;res de janvier</option>
    <option>2 derni&egrave;res de janvier</option>
      <option>2 premi&egrave;res de f&eacute;vrier</option>
    <option>2 derni&egrave;res de f&eacute;vrier</option>
      <option>2 premi&egrave;res de mars </option>
    <option>2 derni&egrave;res de mars </option>
      <option>2 premi&egrave;res d'avril </option>
      <option>2 derni&egrave;res d'avril </option>
    <option>2 premi&egrave;res de mai </option>
      <option>2 derni&egrave;res de mai </option>
    <option>2 premi&egrave;res de juin </option>
      <option>2 derni&egrave;res de juin </option>
      <option>2 premi&egrave;res de juillet </option>
      <option>2 derni&egrave;res de juillet </option>
      <option>2 premi&egrave;res d'ao&ucirc;t </option>
      <option>2 derni&egrave;res d'ao&ucirc;t </option>
      <option>2 premi&egrave;res de septembre </option>
      <option>2 derni&egrave;res de septembre </option>
      <option>2 premi&egrave;res d'octobre </option>
      <option>2 derni&egrave;res d'octobre </option>
      <option>2 premi&egrave;res de novembre </option>
      <option>2 derni&egrave;res de novembre </option>
      <option>2 premi&egrave;res de d&eacute;cembre </option>
      <option>2 derni&egrave;res de d&eacute;cembre </option>
  </select></td>
    </tr>
            
            <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Vous r&eacute;servez vos billets:</font></td>
      <td><select name="strReserve">
    <option selected >G&eacute;n&eacute;ralement...</option>
    <option>moins d'un mois &agrave; avance </option>
      <option>1 mois &agrave; avance </option>
    <option>2 mois &agrave; avance </option>
    <option>3 mois &agrave; avance </option>
    <option>4 mois et plus &agrave; avance </option>
  </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
      </tr>
      <!--  0000000000000000000000000000000000000000000000000000000000 -->
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Voyager en groupe:</font></td>
      <td><select name="strLesVoyagesDeGroupe">
    <option selected>M'int&eacute;resse beaucoup </option>
      <option>M'int&eacute;resse </option>
    <option>M'int&eacute;resse peu </option>
    <option>Ne m'int&eacute;resse pas </option>
  </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Statut familial:</font></td>
      <td><select name="strEtatCivil">
    <option selected >Vous &ecirc;tes...</option>
    <option>C&eacute;libataire </option>
    <option>Veuf(ve) </option>
    <option>Mari&eacute;(e) </option>
    <option>En union libre </option>
  </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Vos commentaires:</font></td>
      <td><input type="text" name="strCommentaires" size="40" maxlength="255"></td>
    </tr>
    <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Raison de rappel:</font></td>
      <td><input type="text" name="strRappel" size="38" maxlength="255" value="Mariage, anniversaire, prochain voyage, etc...">
      <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Date de rappel: &nbsp;&nbsp; (Obligatoire)</font></td>
        <td><font face="Arial MT" color="#168B9C" size=2>&nbsp;Ann?e&nbsp;</font><input name="dtRappelAn" type="text" size="4" maxlength=4 onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;">
                  <font face="Arial MT" color="#168B9C" size=2>&nbsp;Mois&nbsp;</font>
                              <select name="dtRappelMois" >
                              <option value=1>1</option>
                              <option value=2>2</option>
                              <option value=3>3</option>
                              <option value=4>4</option>
                              <option value=5>5</option>      
                              <option value=6>6</option>    
                              <option value=7>7</option>
                              <option value=8>8</option>
                              <option value=9>9</option>
                              <option value=10>10</option>
                              <option value=11>11</option>      
                              <option value=12>12</option>
                              </select>

            <font face="Arial MT" color="#168B9C" size=2>&nbsp;Jour&nbsp;</font><input name="dtRappelJour" type="text"  size="2" maxlength=2 onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" onblur="return ValiderJour(dtRappelJour, dtRappelMois, dtRappelAn)">
            <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Votre photo: (500k max.)</font></td>
      <td><input type="file" name="olePhoto"></td>
    </tr>
      <tr>
      <td align="left"><font face="Arial MT" color="#168B9C" size=2>Avez-vous d&eacute;ja voyag&eacute; avec nous?</font></td>
     <td> <select name="strFaitAffaireAvecHone">
    <option selected>Non </option>
    <option>Oui </option>
    </select>
      <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
      </tr>
      
      <tr>
      <td align="left"><font face="Arial MT" color="#168B9C" size=2>D&eacute;sirez-vous qu'un(e) agent vous contact?</font></td>
      <td><select name="strAttendContact">
    <option selected>Oui </option>
    <option>Non </option>
    </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font>
      </td></tr>

<tr>
      <td align="left"><font face="Arial MT" color="#168B9C" size=2>O&ugrave; avez-vous entendu parler de nous?</font></td>
      <td><select name="strNousAVuePar">
    <option>Notre site Internet</option>
      <option>Publicit&eacute; sur internet</option>
    <option>Journaux</option>
      <option>Annuaire t&eacute;l&eacute;phonique </option>
      <option>Ami(e)</option>
      <option>Moteur de recherche</option>
      <option>Copernic</option>
      <option>Google</option>
      <option>Altavista</option>
      <option>Autre site Internet</option>
      <option>Autre </option>
      </select>
      <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td></tr>
      <tr>
      <td colspan="2" align="center"><br><input type="submit" value="Inscrivez-moi!"  onClick="this.value='Merci beaucoup!'"> <input type="reset" value="Effacer"></td>

    </tr>
      
</table>
</CENTER>
</form>
</BODY>
</HTML>
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

Author Comment

by:Swimman
ID: 6457955
Sorry it wasn't the good one ... this one is


<HTML>
<HEAD>
<TITLE>Groupe Voyage Hone</TITLE>
<META NAME="Description" CONTENT="Voyagez en confiance avec le Groupe Voyage Hone, depuis 1911">
<META NAME="Keywords" CONTENT="Voyage avion airplane travel trip paris londre sud  south plage beach boat bateau croisiere voyager traveling sport golf billet ticket air canada canadair clubmed soleil bronzage deals forfait tower newyork">
<META NAME="Author" CONTENT="MtlTek et ViaWebTech">
<meta name="revisit-after" content="15 days">

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin Fonction de validation

function ValiderJour(objDay, objMonth, objAn)
{
      if (objAn.value > 1899 && objAn.value < 2051 ) {      
            switch(objMonth.value)
            {
                  case '2':      {
                              //correctif pour ann?e bisextile
                              if (objAn.value%4 ==0){maxDay=29}
                              else maxDay=28;
                            break;
                            }//f?vrier 28 0u 29
                  case '4': {
                              maxDay=30;
                            break;
                            }//avril
                  case '6': {
                              maxDay=30;
                            break;
                            }//juin
                  case '9': {
                              maxDay=30;
                            break;
                            }//septembre
                  case '11': {
                              maxDay=30;
                            break;
                            }//novembre
                  default :{
                                maxDay=31;
                                }
            }
            if (objDay.value>maxDay )
                  {
                  alert('Ce mois peut au maximum contenir ' + maxDay + ' jours');
                  objDay.value = '' ;
                  }
      }
      else {
      alert('L\'ann?e que vous avez entr?e est invalide ! Veuillez entrer une ann?e comprise entre 1900 et 2050.');
      objAn.value = '' ;
      }
}


function checkForm(myForm) {
if (myForm.strNom.value != ""
      && myForm.strPrenom.value != ""
      && myForm.strSexe.value != ""
      && myForm.dtNaissanceJour.value != ""
      && myForm.dtNaissanceMois.value != ""
      && myForm.dtNaissanceAn.value != ""
      && myForm.strOccupation.value != "Choisissez..."
      && myForm.strAdresse.value != ""
      && myForm.strVille.value != ""
      && myForm.strProvince.value != "Choisissez..."
      && myForm.strPays.value != "Choisissez..."
      && myForm.strCP.value != ""
      && myForm.strTelephone.value != ""
      && myForm.strEmail.value != ""
      && myForm.strEmail.value != "vous@courriel.ca   (exemple)"
      && myForm.strBudget.value != "Budget  $CAD par personne"
      && myForm.strDureeMoyenneDuVoyage.value != "Habituellement..."
      && myForm.strVoyageParAnnee.value != "Vous voyagez..."
      && myForm.strSaisonFavorite.value != "Vous pr?f?rez..."
      && myForm.strInteret1.value != "Vous aimez..."
      && myForm.strDestination1.value != "Vous aimez..."
      && myForm.strReserve.value != "G?n?ralement..."
      && myForm.strEtatCivil.value != "Vous ?tes..."
      && myForm.strRappel.value != "Mariage, anniversaire, prochain voyage, etc..."
      && myForm.strRappel.value != ""
      && myForm.dtRappelJour.value != ""
      && myForm.dtRappelMois.value != ""
      && myForm.dtRappelAn.value != ""
      )
      {
            if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(myForm.strEmail.value))
            {
            return (true)
            }
            else
            {
            alert("Adresse de courriel incorrecte! Veuillez entrer votre adresse de courriel!")
            return (false)
            }
      }

alert("Vous devez compl?ter obligatoirement les Champs marqu?s d'un *")
return (false)
}
//  End Fonction de validation -->
</script>


      <SCRIPT LANGUAGE=javascript>
      <!--
      function UpdateOnload() {
      
            document.form1.strNom.Value = "test";
            alert("hello")
      }
      
      //-->
      </SCRIPT>
      

</HEAD>
<BODY  onload="UpdateOnload()" >
<BR>
<!-- D?but du code ? ins?rer dans votre page web -->
<form  method="POST" name=form1 ENCTYPE="multipart/form-data" ACTION="ins.asp?submited=TRUE" onSubmit="return checkForm(this)">
<CENTER>
<font face="Arial MT" color="#47B0C7" size=1>L&eacute;gende : * = Champ obligatoire</font>
<br>
<table border=1 bordercolor="#168B9C">
    <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Nom:</font></td>
        <td><input type="text" name="strNom" id="strNom" size="38" maxlength="50" onKeypress="if ((event.keyCode > 32 && event.keyCode < 48) || (event.keyCode > 57 && event.keyCode < 65) || (event.keyCode > 90 && event.keyCode < 97)) event.returnValue = false;">
        <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
    <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Pr&eacute;nom:</font></td>
        <td><input type="text" name="strPrenom" size="38" maxlength="50" onKeypress="if ((event.keyCode > 32 && event.keyCode < 48) || (event.keyCode > 57 && event.keyCode < 65) || (event.keyCode > 90 && event.keyCode < 97)) event.returnValue = false;">
        <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Vous &ecirc;tes:</font></td>
      <td>
      <INPUT type=radio name="strSexe" value="Homme"><font face="Arial MT" color="#168B9C" size=2>Un homme </font><INPUT type=radio name="strSexe" value="Femme"><font face="Arial MT" color="#168B9C" size=2>Une femme </font>
      <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
      </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Date de naissance:</font></td>
        <td>
<font face="Arial MT" color="#168B9C" size=2>&nbsp;Ann?e&nbsp;</font><input name="dtNaissanceAn" type="text"  size="4" maxlength=4 onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;">
<font face="Arial MT" color="#168B9C" size=2>&nbsp;Mois&nbsp;</font><select name="dtNaissanceMois" >
    <option value=1>1</option>
    <option value=2>2</option>
    <option value=3>3</option>
    <option value=4>4</option>
    <option value=5>5</option>      
    <option value=6>6</option>    
    <option value=7>7</option>
    <option value=8>8</option>
    <option value=9>9</option>
    <option value=10>10</option>
    <option value=11>11</option>      
    <option value=12>12</option>
  </select>

<font face="Arial MT" color="#168B9C" size=2>&nbsp;Jour&nbsp;</font><input name="dtNaissanceJour" type="text" value="" size="2" maxlength=2 onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" onblur="return ValiderJour(dtNaissanceJour, dtNaissanceMois, dtNaissanceAn)">

<FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>

      
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Occupation:</font></td>
      <td><select name="strOccupation">
    <option selected >Choisissez...</option>
    <option>Professionnel(M&eacute;dical, L&eacute;gal, etc.)</option>
    <option>Enseignant(e)/?ducation/Formation </option>
    <option>Comptabilit&eacute;/Finance </option>
    <option>Conseil</option>
    <option>?tudiant</option>
    <option>Commercant </option>
    <option>Au foyer </option>
    <option>Informatique </option>
    <option>Ing&eacute;nieur</option>
    <option>Web Master/Internet </option>
    <option>Artisan/Marchand </option>
    <option>Organisation gouvernementale/Militaire </option>
    <option>Recherche et D&eacute;veloppement </option>
    <option>Technicien </option>
    <option>Vente/Marketing</option>
    <option>Autre </option>
  </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Revenu familial annuel:</font></td>
      <td><select name="strRevenue">
<option value="">Choisissez...</option>
<option>moins de 20 000 $</option>
<option>entre 20 000 $ et 24 999 $</option>
<option>entre 25 000 $ et 29 999 $</option>
<option>entre 30 000 $ et 34 999 $</option>
<option>entre 35 000 $ et 39 999 $</option>
<option>entre 40 000 $ et 44 999 $</option>
<option>entre 45 000 $ et 49 999 $</option>
<option>entre 50 000 $ et 54 999 $</option>
<option>entre 55 000 $ et 59 999 $</option>
<option>entre 60 000 $ et 64 999 $</option>
<option>entre 65 000 $ et 69 999 $</option>
<option>entre 70 000 $ et 74 999 $</option>
<option>entre 75 000 $ et 79 999 $</option>
<option>entre 80 000 $ et 84 999 $</option>
<option>entre 85 000 $ et 89 999 $</option>
<option>entre 90 000 $ et 94 999 $</option>
<option>entre 95 000 $ et 99 999 $</option>
<option>100 000 $ ou plus</option>
<option>Pas de r?ponse</option>
      </select></td>
<tr>
<td><font face="Arial MT" color="#168B9C" size=2>Niveau de scolarit&eacute;:</font></td>
<td>
<select name="strScolarite"><option selected value="">Choisissez...</option>
<option >Primaire</option>
<option>Secondaire</option>
<option>Coll?gial</option>
<option>Universitaire</option>
<option>Post-universitaire</option>
<option>Pas de r?ponse</option>
</select>
</td>
</tr>
      
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Adresse:</font></td>
      <td><input type="text" name="strAdresse" size="38" maxlength="255">
      <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Ville:</font></td>
      <td><input type="text" name="strVille" size="38" maxlength="50" >
       <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Province:</font></td>
      <td><select name="strProvince">
    <option selected >Choisissez... &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
    <option>Qu&eacute;bec </option>
    <option>Ontario </option>
    <option>Manitoba </option>
    <option>Saskatchewan</option>
    <option>Alberta </option>
    <option>Colombie-Britannique </option>
    <option>&Icirc;le-du-Prince-&Eacute;douard </option>
    <option>Nouveau-Brunswick </option>
    <option>Nouvelle-&Eacute;cosse </option>
    <option>Terre-Neuve </option>
    <option>Territoires du Nord-Ouest </option>
    <option>Territoire du Yukon </option>
    <option>Nunavut </option>
    <option>Labrador </option>
  </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Pays:</font></td>
      <td><select name="strPays">
<option >Choisissez...</option>
<option>Canada</option>
<option>France</option>
<option>Belgique</option>
<option>&Eacute;tats-Unis</option>
<option>Afghanistan</option>
<option>Afrique du sud</option>
<option>Albanie</option>
<option>Alg&eacute;rie</option>
<option>Allemagne</option>
<option>Andorre</option>
<option>Angola</option>
<option>Anguilla</option>
<option>Antilles n&eacute;erlandaises</option>
<option>Arabie saoudite</option>
<option>Argentine</option>
<option>Arm&eacute;nie</option>
<option>Australie</option>
<option>Autriche</option>
<option>Azerbaijan</option>
<option>Bahamas</option>
<option>Bahrein</option>
<option>Bangladesh</option>
<option>Belarus</option>
<option>Belgique</option>
<option>Belize</option>
<option>Benin</option>
<option>Bermudes</option>
<option>Bhoutan</option>
<option>Bolivie</option>
<option>Bosnie-Herz&eacute;govine</option>
<option>Botswana</option>
<option>Br&eacute;sil</option>
<option>Brunei</option>
<option>Bulgarie</option>
<option>Burkina Faso</option>
<option>Burundi</option>
<option>C&ocirc;te d'ivoire</option>
<option>Cambodge</option>
<option>Cameroun</option>
<option>Canada</option>
<option>Cap Vert</option>
<option>Cayman (&icirc;les)</option>
<option>Chili</option>
<option>Chine (R&eacute;p. pop.)</option>
<option>Chypre</option>
<option>Colombie</option>
<option>Comores</option>
<option>Congo</option>
<option>Congo (RDC)</option>
<option>Cor&eacute;e, Nord</option>
<option>Cor&eacute;e, Sud</option>
<option>Costa Rica</option>
<option>Croatie</option>
<option>Cuba</option>
<option>Danemark</option>
<option>Djibouti</option>
<option>&Eacute;gypte</option>
<option>&Eacute;mirats arabes unis</option>
<option>&Eacute;quateur</option>
<option>&Eacute;tats-Unis</option>
<option>&Eacute;thiopie</option>
<option>El Salvador</option>
<option>Erythr&eacute;e</option>
<option>Espagne</option>
<option>Estonie</option>
<option>F&eacute;ro&eacute; (&icirc;les)</option>
<option>Fidji</option>
<option>Finlande</option>
<option>France</option>
<option>G&eacute;orgie</option>
<option>Gabon</option>
<option>Gambie</option>
<option>Ghana</option>
<option>Gibraltar</option>
<option>Gr&egrave;ce</option>
<option>Grenade</option>
<option>Groenland</option>
<option>Guadeloupe</option>
<option>Guam</option>
<option>Guatemala</option>
<option>Guin&eacute;e</option>
<option>Guin&eacute;e &eacute;quatoriale</option>
<option>Guin&eacute;e-Bissau</option>
<option>Guyana</option>
<option>Guyane</option>
<option>Haiti</option>
<option>Honduras</option>
<option>Hong Kong</option>
<option>Hongrie</option>
<option>Iceland</option>
<option>Inde</option>
<option>Indon&eacute;sie</option>
<option>Iran</option>
<option>Iraq</option>
<option>Irlande</option>
<option>Isra&euml;l</option>
<option>Italie</option>
<option>Jama&iuml;que</option>
<option>Japon</option>
<option>Jordanie</option>
<option>Kazakhstan</option>
<option>Kenya</option>
<option>Kirgizistan</option>
<option>Koweit</option>
<option>Laos</option>
<option>Lesotho</option>
<option>Lettonie</option>
<option>Liban</option>
<option>Liberia</option>
<option>Libye</option>
<option>Liechtenstein</option>
<option>Lituanie</option>
<option>Luxembourg</option>
<option>Mac&eacute;doine</option>
<option>Macao</option>
<option>Madagascar</option>
<option>Malaisie</option>
<option>Malawi</option>
<option>Maldives</option>
<option>Mali</option>
<option>Malte</option>
<option>Maroc</option>
<option>Martinique</option>
<option>Maurice</option>
<option>Mauritanie</option>
<option>Mayotte</option>
<option>Mexique</option>
<option>Micron&eacute;sie</option>
<option>Moldavie</option>
<option>Monaco</option>
<option>Mongolie</option>
<option>Montserrat</option>
<option>Mozambique</option>
<option>Myanmar (Birmanie)</option>
<option>N&eacute;pal</option>
<option>Namibie</option>
<option>Nicaragua</option>
<option>Niger</option>
<option>Nigeria</option>
<option>Norv&egrave;ge</option>
<option>Nouvelle-Cal&eacute;donie</option>
<option>Nouvelle-Z&eacute;lande</option>
<option>Oman</option>
<option>Ouganda</option>
<option>Ouzbekistan</option>
<option>P&eacute;rou</option>
<option>Pakistan</option>
<option>Panama</option>
<option>Papouasie Nouvelle-Guin&eacute;e</option>
<option>Paraguay</option>
<option>Pays-Bas</option>
<option>Philippines</option>
<option>Pologne</option>
<option>Polyn&eacute;sie fran&ccedil;aise</option>
<option>Porto Rico</option>
<option>Portugal</option>
<option>Qatar</option>
<option>R&eacute;publique centrafricaine</option>
<option>R&eacute;publique dominicaine</option>
<option>R&eacute;publique tch&egrave;que</option>
<option>R&eacute;union (&icirc;le de la)</option>
<option>Roumanie</option>
<option>Royaume-Uni</option>
<option>Russie</option>
<option>Rwanda</option>
<option>S&eacute;n&eacute;gal</option>
<option>Sahara occidental</option>
<option>Saint-Pierre et Miquelon</option>
<option>Sainte-H&eacute;l&egrave;ne</option>
<option>Sainte-Lucie</option>
<option>Samoa</option>
<option>San-Marin</option>
<option>Sao Tome et Principe</option>
<option>Seychelles</option>
<option>Sierra Leone</option>
<option>Singapour</option>
<option>Slov&eacute;nie</option>
<option>Slovaquie</option>
<option>Somalie</option>
<option>Soudan</option>
<option>Sri Lanka</option>
<option>Su&egrave;de</option>
<option>Suisse</option>
<option>Surinam</option>
<option>Swaziland</option>
<option>Syrie</option>
<option>TAAT</option>
<option>Taiwan</option>
<option>Tajikistan</option>
<option>Tanzanie</option>
<option>Tchad</option>
<option>Thailande</option>
<option>Timor oriental</option>
<option>Togo</option>
<option>Tonga</option>
<option>Trinit&eacute; et Tobago</option>
<option>Tunisie</option>
<option>Turkmenistan</option>
<option>Turquie</option>
<option>Tuvalu</option>
<option>Ukraine</option>
<option>Uruguay</option>
<option>Vanuatu</option>
<option>Vatican (Cit&eacute; du)</option>
<option>Venezuela</option>
<option>Vi&ecirc;tnam</option>
<option>Vierges (&icirc;les)</option>
<option>Wallis et Futuna</option>
<option>Y&eacute;men</option>
<option>Yougoslaviae</option>
<option>Zambie</option>
<option>Zimbabwe</option>
</select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
      </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Code postal:</font></td>
      <td><input type="text" name="strCP" size="10" maxlength="10" >
      <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>T&eacute;l.:</font></td>
      <td><input type="text" name="strTelephone" size="20" maxlength="20" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;">
      <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Courriel:</font></td>
      <td><input type="text" name="strEmail" size="38" maxlength="50" value="vous@courriel.ca   (exemple)">
      <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Qui est votre conseiller(e)?</font></td>
      <td><input type="text" name="strAgent" size="38" maxlength="50" value="" onKeypress="if ((event.keyCode > 32 && event.keyCode < 48) || (event.keyCode > 57 && event.keyCode < 65) || (event.keyCode > 90 && event.keyCode < 97)) event.returnValue = false;"></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C"><b>Information Voyage</b></font>
      </td>
      </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Le prix de votre dernier voyage?</font></td>
        <td><input type="text" name="strDepenserEn2000" size="38" maxlength="40" value="" onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;"></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Budget de voyage: </font></td>
      <td><select name="strBudget">
    <option selected >Budget  $CAD par personne</option>
    <option>Moins de 1000$</option>
    <option>1001$ &agrave; 1500$</option>
    <option>1501$ &agrave; 2500$</option>
    <option>2501$ &agrave; 5000$</option>
    <option>5001$ et plus </option>
    <option>Cela d&eacute;pend du type de voyage</option>
  </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Vos voyages durent: </font></td>
      <td><select name="strDureeMoyenneDuVoyage">
    <option selected >Habituellement...</option>
    <option>1 semaine </option>
    <option>2 semaines </option>
    <option>3 semaines </option>
    <option>4 semaines et plus </option>
    <option>Cela d?pend du type de voyage</option>
  </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Dans une ann&eacute;e:</font></td>
      <td><select name="strVoyageParAnnee">
    <option selected >Vous voyagez...</option>
    <option>1 fois</option>
    <option>2 fois</option>
    <option>3 fois</option>
    <option>4 fois et plus </option>
    <option>Cela d?pend </option>
  </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Pour voyager:</font></td>
      <td><select name="strSaisonFavorite">
    <option selected >Vous pr&eacute;f&eacute;rez...&nbsp;</option>
    <option>L'&eacute;t&eacute; </option>
    <option>L'automne </option>
    <option>L'hiver </option>
    <option>Le printemps </option>
    <option>Cela d?pend </option>
  </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <!-- 000000000000000000000000000000000000000000000000000000000 -->
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Int?r?ts de voyages:</font></td>
      <td><select name="strInteret1">
    <option selected >Vous aimez...</option>
    <option>Le golf</option>
    <option>Les croisi&egrave;res</option>
    <option>L'aventure</option>    
      <option>Les voyages en famille</option>
    <option>Le tourisme de ville</option>
    <option>Les safaris-photos</option>
    <option>L'&eacute;cotourisme</option>
      <option>Les circuits accompagn&eacute;s</option>
      <option>Les voyages de c&eacute;libataires</option>
      <option>Les voyages de d&eacute;tente</option>
      <option>Les casinos</option>
      <option>Les forfaits &laquo; tout-inclus &raquo;</option>
      <option>Les voyages sportifs</option>
      <option>Les forfaits &laquo; Sant&eacute; &raquo;</option>
  </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Int?r?ts de voyages 2:</font></td>
      <td><select name="strInteret2">
    <option selected value="">Vous aimez aussi...</option>
    <option>Le golf</option>
    <option>Les croisi&egrave;res</option>
    <option>L'aventure</option>    
      <option>Les voyages en famille</option>
    <option>Le tourisme de ville</option>
    <option>Les safaris-photos</option>
    <option>L'&eacute;cotourisme</option>
      <option>Les circuits accompagn&eacute;s</option>
      <option>Les voyages de c&eacute;libataires</option>
      <option>Les voyages de d&eacute;tente</option>
      <option>Les casinos</option>
      <option>Les forfaits &laquo; tout-inclus &raquo;</option>
      <option>Les voyages sportifs</option>
      <option>Les forfaits &laquo; Sant&eacute; &raquo;</option>
  </select></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Int?r?ts de voyages 3:</font></td>
      <td><select name="strInteret3">
    <option selected value="">Et vous aimez aussi...</option>
    <option>Le golf</option>
    <option>Les croisi&egrave;res</option>
    <option>L'aventure</option>    
      <option>Les voyages en famille</option>
    <option>Le tourisme de ville</option>
    <option>Les safaris-photos</option>
    <option>L'&eacute;cotourisme</option>
      <option>Les circuits accompagn&eacute;s</option>
      <option>Les voyages de c&eacute;libataires</option>
      <option>Les voyages de d&eacute;tente</option>
      <option>Les casinos</option>
      <option>Les forfaits &laquo; tout-inclus &raquo;</option>
      <option>Les voyages sportifs</option>
      <option>Les forfaits &laquo; Sant&eacute; &raquo;</option>
  </select></td>
    </tr>
      <!-- 00000000000000000000000000000000000000000000000000000 -->
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Destination favorite:</font></td>
      <td><select name="strDestination1">
    <option selected >Vous aimez...</option>
    <option>Les destinations soleil</option>
    <option>L'Afrique</option>
    <option>L'Asie</option>
    <option>Les r&eacute;gions polaires</option>
    <option>L'Europe de l'Est</option>
      <option>L'Europe </option>
      <option>polynesie francaise</option>
      <option>L'Oc&eacute;anie</option>
      <option>L'Am&eacute;rique Central</option>
      <option>L'Am&eacute;rique du Sud</option>
  </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Destination favorite 2:</font></td>
      <td><select name="strDestination2">
    <option selected value="">Vous aimez aussi...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
    <option>les destinations soleil</option>
    <option>l'Afrique</option>
    <option>l'Asie</option>
    <option>les r&eacute;gions polaires</option>
    <option>l'europe (est)</option>
      <option>l'europe (ouest)</option>
      <option>polynesie francaise</option>
      <option>l'Oc&eacute;anie</option>
      <option>l'Am&eacute;rique central</option>
      <option>l'Am&eacute;rique du sud</option>
  </select></td>
    </tr>
      
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Destination favorite 3:</font></td>
      <td><select name="strDestination3">
    <option selected value="">Et vous aimez aussi...&nbsp;&nbsp;</option>
    <option>les destinations soleil</option>
    <option>l'Afrique</option>
    <option>l'Asie</option>
    <option>les r&eacute;gions polaires</option>
    <option>l'europe (est)</option>
      <option>l'europe (ouest)</option>
      <option>polynesie francaise</option>
      <option>l'Oc&eacute;anie</option>
      <option>l'Am&eacute;rique central</option>
      <option>l'Am&eacute;rique du sud</option>
  </select></td>
    </tr>
          
            <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Vos semaines de cong&eacute; cette ann&eacute;e:</font></td>
      <td><select name="strDateVacance">
    <option selected >2 premi&egrave;res de janvier</option>
    <option>2 derni&egrave;res de janvier</option>
      <option>2 premi&egrave;res de f&eacute;vrier</option>
    <option>2 derni&egrave;res de f&eacute;vrier</option>
      <option>2 premi&egrave;res de mars </option>
    <option>2 derni&egrave;res de mars </option>
      <option>2 premi&egrave;res d'avril </option>
      <option>2 derni&egrave;res d'avril </option>
    <option>2 premi&egrave;res de mai </option>
      <option>2 derni&egrave;res de mai </option>
    <option>2 premi&egrave;res de juin </option>
      <option>2 derni&egrave;res de juin </option>
      <option>2 premi&egrave;res de juillet </option>
      <option>2 derni&egrave;res de juillet </option>
      <option>2 premi&egrave;res d'ao&ucirc;t </option>
      <option>2 derni&egrave;res d'ao&ucirc;t </option>
      <option>2 premi&egrave;res de septembre </option>
      <option>2 derni&egrave;res de septembre </option>
      <option>2 premi&egrave;res d'octobre </option>
      <option>2 derni&egrave;res d'octobre </option>
      <option>2 premi&egrave;res de novembre </option>
      <option>2 derni&egrave;res de novembre </option>
      <option>2 premi&egrave;res de d&eacute;cembre </option>
      <option>2 derni&egrave;res de d&eacute;cembre </option>
  </select></td>
    </tr>
            
            <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Vous r&eacute;servez vos billets:</font></td>
      <td><select name="strReserve">
    <option selected >G&eacute;n&eacute;ralement...</option>
    <option>moins d'un mois &agrave; avance </option>
      <option>1 mois &agrave; avance </option>
    <option>2 mois &agrave; avance </option>
    <option>3 mois &agrave; avance </option>
    <option>4 mois et plus &agrave; avance </option>
  </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
      </tr>
      <!--  0000000000000000000000000000000000000000000000000000000000 -->
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Voyager en groupe:</font></td>
      <td><select name="strLesVoyagesDeGroupe">
    <option selected>M'int&eacute;resse beaucoup </option>
      <option>M'int&eacute;resse </option>
    <option>M'int&eacute;resse peu </option>
    <option>Ne m'int&eacute;resse pas </option>
  </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Statut familial:</font></td>
      <td><select name="strEtatCivil">
    <option selected >Vous &ecirc;tes...</option>
    <option>C&eacute;libataire </option>
    <option>Veuf(ve) </option>
    <option>Mari&eacute;(e) </option>
    <option>En union libre </option>
  </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Vos commentaires:</font></td>
      <td><input type="text" name="strCommentaires" size="40" maxlength="255"></td>
    </tr>
    <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Raison de rappel:</font></td>
      <td><input type="text" name="strRappel" size="38" maxlength="255" value="Mariage, anniversaire, prochain voyage, etc...">
      <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Date de rappel: &nbsp;&nbsp; (Obligatoire)</font></td>
        <td><font face="Arial MT" color="#168B9C" size=2>&nbsp;Ann?e&nbsp;</font><input name="dtRappelAn" type="text" size="4" maxlength=4 onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;">
                  <font face="Arial MT" color="#168B9C" size=2>&nbsp;Mois&nbsp;</font>
                              <select name="dtRappelMois" >
                              <option value=1>1</option>
                              <option value=2>2</option>
                              <option value=3>3</option>
                              <option value=4>4</option>
                              <option value=5>5</option>      
                              <option value=6>6</option>    
                              <option value=7>7</option>
                              <option value=8>8</option>
                              <option value=9>9</option>
                              <option value=10>10</option>
                              <option value=11>11</option>      
                              <option value=12>12</option>
                              </select>

            <font face="Arial MT" color="#168B9C" size=2>&nbsp;Jour&nbsp;</font><input name="dtRappelJour" type="text"  size="2" maxlength=2 onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" onblur="return ValiderJour(dtRappelJour, dtRappelMois, dtRappelAn)">
            <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
    </tr>
      <tr>
      <td><font face="Arial MT" color="#168B9C" size=2>Votre photo: (500k max.)</font></td>
      <td><input type="file" name="olePhoto"></td>
    </tr>
      <tr>
      <td align="left"><font face="Arial MT" color="#168B9C" size=2>Avez-vous d&eacute;ja voyag&eacute; avec nous?</font></td>
     <td> <select name="strFaitAffaireAvecHone">
    <option selected>Non </option>
    <option>Oui </option>
    </select>
      <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td>
      </tr>
      
      <tr>
      <td align="left"><font face="Arial MT" color="#168B9C" size=2>D&eacute;sirez-vous qu'un(e) agent vous contact?</font></td>
      <td><select name="strAttendContact">
    <option selected>Oui </option>
    <option>Non </option>
    </select><FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font>
      </td></tr>

<tr>
      <td align="left"><font face="Arial MT" color="#168B9C" size=2>O&ugrave; avez-vous entendu parler de nous?</font></td>
      <td><select name="strNousAVuePar">
    <option>Notre site Internet</option>
      <option>Publicit&eacute; sur internet</option>
    <option>Journaux</option>
      <option>Annuaire t&eacute;l&eacute;phonique </option>
      <option>Ami(e)</option>
      <option>Moteur de recherche</option>
      <option>Copernic</option>
      <option>Google</option>
      <option>Altavista</option>
      <option>Autre site Internet</option>
      <option>Autre </option>
      </select>
      <FONT FACE="Verdana, Arial" COLOR="#47B0C7" SIZE=1>*</font></td></tr>
      <tr>
      <td colspan="2" align="center"><br><input type="submit" value="Inscrivez-moi!"  onClick="this.value='Merci beaucoup!'"> <input type="reset" value="Effacer"></td>

    </tr>
      
</table>
</CENTER>
</form>
</BODY>
</HTML>
0
 
LVL 46

Expert Comment

by:fritz_the_blank
ID: 6457958
Swimman,

I am sorry, but I just realized that there is another problem:

I am reasonably sure that you can't say "For each Item in Request.QueryString" in JavaScript, and that is why you are getting the error.

Fritz the Blank
0
 
LVL 19

Expert Comment

by:webwoman
ID: 6457974
and that looks absolutely NOTHING like what you posted at first. No ASP code at all.

However you do have this...
name=form1

Put it in quotes
name="form1"

And give strNom a value=""

 
0
 

Author Comment

by:Swimman
ID: 6457981
Fritz the Blank, you're right but i wrote this part of code in ASP with <%%> tags...
0
 

Author Comment

by:Swimman
ID: 6458004
webwoman  I made you're change i it dosn't work ethier !

For the asp, i prefer to give you the source code of the result of asp process to simplify thing !
0
 
LVL 46

Expert Comment

by:fritz_the_blank
ID: 6458035
Swimman,

I looked at the code and your errors are stemming from two lines. In both cases, it has to do with the use of ' and ".

Try for example:

     alert("L'anne que vous avez entre est invalide ! Veuillez entrer une anne comprise entre 1900 et 2050.");


0
 
LVL 3

Accepted Solution

by:
davlun20080 earned 100 total points
ID: 6458196
OK, you have a problem somewhere in your page with a string not being closed corretly, did not feel like hunting that one down, otherwise all seems ok with the exception of line #111 or there abouts where you are writing out the onload event.  change the line to:
    document.form1.<%=Item%>.value= "<%=Request.QueryString(Item)%>";

lowercase 'v'

it worked on my end.
0
 
LVL 46

Expert Comment

by:fritz_the_blank
ID: 6458279
The errors definitely are strings not being closed;

Here's one:

    alert("L'anne que vous avez entre est invalide ! Veuillez entrer une anne comprise entre 1900 et
2050.");


Here's the other:

onClick="this.value='Merci beaucoup!'">

Fritz the Blank
0
 

Author Comment

by:Swimman
ID: 6458755
davlun20080 , Good job it works ;) Can you just send an answers message ... this way i can give you the points ;)
0
 

Author Comment

by:Swimman
ID: 6458757
Good jobs ;) You're great !
0
 
LVL 3

Expert Comment

by:davlun20080
ID: 6458769
Glad it worked out for you.  To close the question, click on the 'accept comment as answer' button next to this comment.  

This will let you enter a grade and so forth and close the question.  Let me know if you do not see this option.

davlun
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now