<script type="text/javascript">
function clickMeEvent(obj){
if (obj.innerHTML == "谢谢") {
obj.innerHTML = "再见"
}else if (obj.innerHTML == "再见") {
obj.style.display = "none";
}
else if (obj.innerHTML =="点击这里"+"再次点击" ) {
obj.innerHTML="谢谢"
}else{
obj.innerHTML=obj.innerHTML+"再次点击";
}
}
//为什么这样不行
document.getElementById("insidar").onclick="clickMeEvent(this)";
</script>
蜂之谷
相关分类