Pti probleme formulaire

kahilesgi Messages postés 79 Statut Membre -  
ted470 Messages postés 29 Statut Membre -
bonjour
jsuis en train de faire un formulaire avec un select
et je cherche juste en selectionnant un select il maffiche une petite image a coter qui correspondant a l element du select

<html>
	<head>

		<FORM>
			<strong>LIVRAISON<strong>
<table border=0>




<TR>
	<TD><strong>Type</strong></TD>
	<TD>
	<p>Express : <INPUT type=radio name="Type" value="M">
	<br>Normal : <INPUT type=radio name="Type" value="F"></p>
	</TD>
</TR>


<TR>
	<TD><strong>Model</strong></TD>
	<TD>
	Long : <INPUT type=radio name="Model" value="M"><img src="../images/chequier.gif" />
	<br>Court : <INPUT type=radio name="Model" value="F"><img src="../images/images.jpg" />
	</TD>
</TR>

<tr>
	<td><strong>Motif</strong></td>
	<td>
	<select name="fonction">
		<option value="Picasso">Picasso</option>
		<option value="Nature">Nature  </option>
		<option value="Espace">Espace  </option>
		<option value="Sport">Sport</option>
		<option value="autre">Autre</option>
	</select>
	

	</td>

<input type="file" name="oFile1"/>
		


</tr>

<tr>
	<td><strong>Description</strong></td>
	<td>
	<textarea rows="2" name="Description">
	Tapez ici votre description</textarea>
	</td>
</tr>

<tr>
	<td colspan=2>
	<input type="button" value="Commander">
	
	<input type="button" value="Envoyer">
	
	</td>
</tr>
</table>
</form>

</html>


dans mon select
jai
picasso,nature ,sport
je cherche a ce que quand je clique sur picasson une petite image aparait a coter

1 réponse

ted470 Messages postés 29 Statut Membre 19
 
SALUT, sur ce site tu verras beaucoup d'astuces sur les listes déroulantes:
http://www.roodali.com/index.php?2007/07/03/9-2-listes-deroulantes-liees-avec-ajax-mysql-php
1