lamine11
Messages postés38Date d'inscriptionmercredi 25 août 2004StatutMembreDernière intervention 1 septembre 2009
-
21 déc. 2005 à 23:36
PetoleTeam
Messages postés3426Date d'inscriptionlundi 26 décembre 2005StatutMembreDernière intervention14 janvier 2011
-
11 janv. 2006 à 15:48
j'ai un code source javascript qui envoi un formulaire avec un select sans bouton envoyer, mais le prob sa ne marche pas avec 2 selects, il envoi la variable d'un select et pas l'autre , pouvez vous m'aider SVP.
un exple du code :
<script lang="javascript">
function go()
{
box = document.forms[0].navi;
destination = box.options[box.selectedIndex].value;
if (destination) location.href = destination;
}
</script>
<form name=example>
<select>
<option value=''>--- Select your destination ---
<option value="js.html">General Introduction
<option value="placejs.html">Placing JavaScripts
<option value="links.html">JavaScript Links
</select>