JavaScript Object:  Radio

Properties & Methods Functionality Test Data Test Case
checked Checks boolean property that reflects the current state of radio. Boolean. rad001.html
defaultChecked Checks boolean property that reflects CHECKED attribute. Boolean.  rad002.html
form Checks name of the form which contains this radio. Regular  Characters. rad003.html
name Checks NAME attribute. Regular Characters.  rad004.html
type Checks TYPE attribute. Regular Characters.  rad005.html
value Checks VALUE attribute. Regular Characters.  rad006.html
focus() First case checks whether focus method actually gives focus to the radio or not.

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

  rad007.html

rad010.html

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

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

  rad009.html

rad012.html

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

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

  rad008.html

rad011.html

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