MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / disable

Function disable

assets/js/bucketsort.js:257–266  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

255
256// function to disable the button
257function disable()
258{
259 // To disable the button "Generate New Array"
260 document.getElementById("Button1").disabled = true;
261 document.getElementById("Button1").style.backgroundColor = "#d8b6ff";
262
263 // To disable the button "Bucket Sort"
264 document.getElementById("Button2").disabled = true;
265 document.getElementById("Button2").style.backgroundColor = "#d8b6ff";
266}
267

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected