afficher calque grace a onchange
Bonjour, comment puis-je faire pour afficher un calque à partir de OnChange de mon bouton très compliqué étant donné que le OnChange de celui-ci est déja occupé ? :?
Code:
1 2 3 4 5 6 7 8
|
<form method="post" id="form_file" enctype="multipart/form-data" action="#">
<div class="parcourirdiv" ><img src="../../interface/bt_parcourir.gif" id="imgparc_<?php echo $nombre_de_boites ?>_1" /><input type="file" onclick="document.getElementById('id_<?php echo $nombre_de_boites ?>_1').value=this.name" class="parcourir" onchange="document.getElementById('form_file').submit()" name="<?php echo $nombre_de_boites ?>_1" OnMouseOver="imgparc_<?php echo $nombre_de_boites ?>_1.src='../../interface/bt_parcourir_push.gif';" OnMouseOut="imgparc_<?php echo $nombre_de_boites ?>_1.src='../../interface/bt_parcourir.gif';" /></div>
<input type='hidden' name='boutonphoto_<?php echo $nombre_de_boites ?>_1' id='id_<?php echo $nombre_de_boites ?>_1' value='' /> |