当前位置:
代码迷
>>
Java Web开发
>> 棘手啊解决思路
详细解决方案
棘手啊解决思路
热度:
62
发布时间:
2016-04-17 01:24:24.0
棘手啊
我实现这样一个功能
一个按钮 一按 按钮隐藏 出现我要的字
怎么弄啊 最好用javascript和jsp Struts
------解决方案--------------------
探讨
<input type="button" name="bu" value="隐藏" onclick="hiddenButton()">
<div id="showWord" style="display:none">显示的字 </div>
<script>
function hiddenButton(){
document.getElementById("showWord").style.display = "";
document.getElementById("bu").style.display = "none";
}
</script>
查看全文
相关解决方案