wood burning stoves 2.0*
The moose likes JSF and the fly likes selectOneRadio cannot be disabled using JavaScript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "selectOneRadio cannot be disabled using JavaScript" Watch "selectOneRadio cannot be disabled using JavaScript" New topic
Author

selectOneRadio cannot be disabled using JavaScript

Luis Devin
Greenhorn

Joined: Jun 10, 2011
Posts: 2
Hello, I am newbie to this Java Forum.

As I need, when a check box is checked, then the selectOneRadio should be enable, else is disabled. But this does not work. Coding as below,

JavaScript:



JSF:





Does any one know what is the problems?

Regards,

Luis


Luis Devin
Greenhorn

Joined: Jun 10, 2011
Posts: 2
by the way.


formRef.name return 'pageForm'
-no idea where does 'pageForm' refer to, whole html file cannot find this word.

cBox return 'object HTMLInputElement'

rButton return 'object HTMLTableElement'

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: selectOneRadio cannot be disabled using JavaScript