js设置按钮的灰色不可点击

document.getElementById("btnSave").setAttribute("disabled", true);//设置不可点击url

document.getElementById("btnSave").style.backgroundColor  = '#555555';//设置背景色rem

document.getElementById("btnSave").removeAttribute("disabled");//去掉不可点击get

window.parent.location.href = url;//调用父页面从新加载io

相关文章
相关标签/搜索