samedi 27 décembre 2014

Html Checkbox with images

i am trying to create a website, to do this i need to create list of checkboxes with images. But at the same time i am calling javascript function. first i want to show an image, then check box then the text. But i could not do it. i don't want to show it , first checkbox then image. here is my code.



<li class="arrow" onclick="functionCall('Text1');">Text1
<ul class="sub" style="display:none;" id="Text1">
<li onclick="Call('Text2');" id="id_1"> <input type="hidden" id="tid_1" value="0">Text2
<li onclick="Call('Text3');" id="id_2"> <img src="m1.png"/><input type="hidden" id="tid_2" value="0">Text3
</ul> </li>




Aucun commentaire:

Enregistrer un commentaire