Tutorial Disable / Re-enable Inputs
Disable:
$("#submit-button").attr("disabled", true);
Re-enable:
$("#submit-button").removeAttr("disabled");
Disable:
$("#submit-button").attr("disabled", true);
Re-enable:
$("#submit-button").removeAttr("disabled");