Home | Top | Free Ajax Editor | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.


defaultChecked Property

Sets or retrieves the state of the check box or radio button.

Syntax

HTML Scripting
N/A
object . defaultChecked [ = bChecked ]

Possible Values

bChecked Boolean that specifies or receives one of the following values.
true Default. Check box or radio button is selected by default.
false Check box or radio button is not selected by default.

The property is read/write. The property has a default value of true .

Remarks

The property can be changed programmatically, but doing so has no effect on the appearance of the check box or radio button or on how forms are submitted.

Standards Information

This property is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .

Applies To

[ Object Name ] Platform Version
Win16:
Win32:
Windows CE:
Unix:
Mac:
 
INPUT type=checkbox , INPUT type=radio
Home | Top | Free Ajax Editor | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.