August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.form. checkbox.blur()
The blur() method removes the focus from a check box.
Warning
In the UNIX versions of Navigator 2 and Navigator 3, the blur() method does not work for check boxes.
In Listing 7.36, two check boxes are created by using the <input> tag. The first check box retains focus after being clicked, but the second check box loses focus as soon as it is clicked due to the use of the blur() method. Do not be surprised if you do not see a difference between the check boxes in this example. In most browsers, you will not be able to detect the difference between a check box that is focused versus one that is not focused. For this reason, ...
Read now
Unlock full access