javascript disable all button code example Example: how to disable all buttons in javascript Click to copy$("input[type=button]").attr("disabled", "disabled");