创建登录按钮
<input id="timer" type="button" value="登录" />
js隐藏按钮
document.getElementById('timer').style.display='none';
js获得按钮的值
document.getElementById("timer").value;
js设置按钮的可点击
禁止点击
document.getElementById("timer").disabled=true;
允许点击
document.getElementById("timer").disabled=false;
js改变按钮的值
msg = "内容"; document.getElementById("timer").value=msg;
css按钮的圆角
border-radius: 5px;