山东金佰特官网:HTML中按钮问题

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/09 09:23:53
如何实现点一个按钮,弹出警告框,点确定以后就消失

<input type="button" onclick="alert('我警告你~!');this.style.display='none';" value="点击我~!">

JAVE代码,很基础的