Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

selectOneRadio cannot be disabled using JavaScript

 
Luis Devin
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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'

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic