hello
comment cacher une checkbox dans un formulaire ( qui est remplacer par des images?
voici mon javascript:
Code : S�lectionner tout - Visualiser dans une fen�tre � part
1
2
3
4
5 function turnImgCheck(objCheck) { var img = document.getElementById('img_check_' + objCheck.id); var t = img.src.split('/'); img.src = (t[t.length-1] == 'http://localhost/images/boulesb1.png') ? 'http://localhost/images/boule1.png' : 'http://localhostl/images/boulesb1.png';
voici mon html :
Code : S�lectionner tout - Visualiser dans une fen�tre � part <input type="checkbox" name="boule" id="boule" value="1" onclick="turnImgCheck(this); setChecksb(this)" /><img src="http://localhost/images/boule1.png" id="img_check_boule" alt=""></td></div>';
fred
Partager