How I can change the background image to <li> tag when is clicked?
Regards
Regards
<div id="ImgDiv"> <img src="Img1.gif" /> </div> <div id="LiDiv" style="display:none;"> <li> <ol>List1</ol </li> </div> <input type="button" onClick="document.getElementById('ImgDiv').style.display='none';document.getElementById('LiDiv').style.display='block';" /> <input type="button" onClick="document.getElementById('LiDiv).style.display='none';document.getElementById('ImgDiv'').style.display='block';" />
Comment