CSS font stacks & developer FAQs with Web standards
Site navigation below

One of hundreds of answers available with our premium content service.

Part answer, see below for more

A: This script sets a simple boolean variable called enabled when the page loads. A function called disable() is attached to an onclick event handler on the first image button, and an enable() function is attached to the second. The script includes alerts that notify the state of the system.

… full answer hidden

Click for full answers

Premium members click below for full answer
How can I toggle button images to enable and disable them?

Un-social media

We love social media, but we do not expect you to create yet another public outpost on the Web.

Home · Web fonts · Font stacks · FAQs · Java · CSS · Javascript · HTML · Site manager