answersLogoWhite

0


Best Answer

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

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

9y ago

You will need to go to your Security tab and change the custom settings. You can then follow the directions to add JavaScript.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you unlock buttons with Javascript?
Write your answer...
Submit
Still have questions?
magnify glass
imp
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


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.


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 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 unlock the radio after changing the battery?

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


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

You input the code with the radio 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.


Can I use a css div layout on my MySpace and let users switch between two totally different styles using buttons on my MySpace using css?

You'll need to use JavaScript to do something like that. And unfortunately, at the time of writing this, MySpace won't allow JavaScript on profiles.


How do you unlock a buICK REGAL WHEN THE DOOR CONTROL DOES NOT WORK?

Key from the outside Individual slides of buttons on doors