answersLogoWhite

0

HTML buttons have a property called "Disabled" which either disables (grays out) the button enables it (default). This property can be accessed through Javascript DOM by the following statement:

document.getElementById("<the button ID>").disabled = true | false;

Use "false" if you want to unlock a button, and "true" if you want to lock it

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How do you disabe radio buttons on clicking a button using javascript and HTML?

radioButton.disabled=true; to disable with javascript &lt;input type="radio" disabled&gt; to disable it with html radioButton.disabled=false; to enable with javascript


What are the Buttons and text boxes in JavaScript are used for?

In JavaScript, buttons and text boxes are used to create interactive web applications. Buttons trigger specific actions or functions when clicked, allowing users to submit forms, perform calculations, or navigate between pages. Text boxes (input fields) enable users to enter data, such as names or messages, which can then be processed or validated by the JavaScript code. Together, they facilitate user interaction and data handling in web environments.


What are the buttons in a web applications called?

In web applications, buttons are typically referred to as &quot;buttons&quot; or &quot;UI buttons.&quot; They are interactive elements that users can click to trigger actions, such as submitting forms, navigating to different pages, or performing specific functions. Buttons are often styled using HTML and CSS, and their functionality is usually enhanced with JavaScript.


The buttons and sequence to unlock radio for 2000 Saturn LS2 i have the factory unlock code already not the scrambled one?

1352


How do enter the unlock code in the 1996 Honda accord?

If you are asking about the radio unlock code you enter it with the radio preset buttons.


How do you unlock big chill on the ultimate omnitrix?

hold down the buttons 2,3,4.


Where do you upload your cards at on clubpenguin?

The homepage and the server select buttons have the unlock signs.


How can stop my buttons from locking?

you can get a dust remover and try and remove the dust that is making your buttons stick. Or you can look for the key lock button on your phone and keep it on unlock


What is the use of the buttons on an automatic gear?

hmmm unlock to shift from park? Over drive off/on?


How do you input the code to unlock Honda accord 2005?

You input the code with the radio preset buttons.


How do you unlock the radio after changing the battery?

Insert the correct code in the radio by way of the preset buttons.


I have a freeplay summit radio and it appeas I have locked it somehow - but there aren't any buttons that say lock. I can't change the channel or turn off the power. anyone know how to unlock them?

I had the same problem. Hold "Time Set" and "Alarm Set" simultaneously to unlock the buttons.