标签:click cti 点击 ima 关闭 lap ges logs log
<script> function changeImage() { element=document.getElementById(‘myimage‘) if (element.src.match("bulbon")) { element.src="/images/pic_bulboff.gif"; } else { element.src="/images/pic_bulbon.gif"; } } </script> <img id="myimage" onclick="changeImage()" src="/images/pic_bulboff.gif" width="100" height="180"> <p>点击灯泡就可以打开或关闭这盏灯</p>
标签:click cti 点击 ima 关闭 lap ges logs log
原文地址:http://www.cnblogs.com/dengmengjie/p/7721934.html