//js
document.getElementById("btn").disabled = true;
//html
<input type="button" value = "submit" id = "btn">
//jquery设置disabled属性为true
$('#btn').attr("disabled",true);
//js
document.getElementById("btn").disabled = true;
//html
<input type="button" value = "submit" id = "btn">
//jquery设置disabled属性为true
$('#btn').attr("disabled",true);