JavaScript Object:  CheckBox

Properties & Methods Functionality Test Data Test Case
checked Checks boolean property that reflects the current state of checkbox. Boolean. cbx001.html
defaultChecked Checks boolean property that reflects CHECKED attribute. Boolean.  cbx002.html
form Checks name of the form which contains this checkbox. Regular  Characters. cbx003.html
name Checks NAME attribute. Regular Characters.  cbx004.html
type Checks TYPE attribute. Regular Characters.  cbx005.html
value Checks VALUE attribute. Regular Characters.  cbx006.html
focus() First case checks whether focus method actually gives focus to the checkbox or not.

Second case checks the return value from function focus without parantheses.

  cbx007.html

cbx010.html

click() First case checks whether click method simulates mouse-click or not.

Second case checks the return value from function click without parantheses.

  cbx009.html

cbx012.html

blur() First case checks whether blur method actually removes focus from the checkbox or not.

Second case checks the return value from function blur without parantheses.

  cbx008.html

cbx011.html

handleEvent() Checks the return value from function handleEvent without parantheses.   cbx013.html