CheckBox

OK - This is probably a very simple question but I have not been able to find the answer myself.

I have a checkbox that I want to test.

if (headersCheckBox().isChecked()) {

// Write code here to unselect the checkbox

}

I'm looking for a method that will uncheck the box (or check it) on the page.

Anyone?

[348 byte] By [dsva] at [2007-11-27 1:41:45]
# 1
Please disregard my question. I found the answer in another thread in this forum.if (headersCheckBox().isChecked()) {headersCheckBox().setSelected("false");}
dsva at 2007-7-12 0:57:29 > top of Java-index,Development Tools,Java Tools...
# 2
Hi There,When working with checkboxes you'll find this also useful http://developers.sun.com/jscreator/reference/techart/2/checkbox_component.htmlThanksK
kish@suna at 2007-7-12 0:57:29 > top of Java-index,Development Tools,Java Tools...