voici mon code il sa marche bien avec IE6 mais avec IE7 et Mozilla sa marche pas je ne sais pourquoi???
***********************
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 <script language="javascript"> <!-- function test() { document.getElementById("im").src=document.fo.image.value; } //--> </script>
et merci
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 <form name="fo" id="fo"> <input name="image" type="file" id="image" onChange="test()" /> <img src="img/l.jpg" id="im" width="72" height="87"/> <form>
Partager