This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JSF and the fly likes how to use selectOneRadio with javascript? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "how to use selectOneRadio with javascript?" Watch "how to use selectOneRadio with javascript?" New topic
Author

how to use selectOneRadio with javascript?

Jamil Shreet
Greenhorn

Joined: Dec 11, 2010
Posts: 5
Hello everybody:
I have selectOneRadio with 2 selectItem, I want to use it for hide and show some <h:inputText> under the radio button.
I searched a lot for code to use javascript with it but I didn't find anything help me, so please try to help me.
This is the code for face page and javascript


HtaraS reddy
Greenhorn

Joined: Jul 14, 2009
Posts: 8
Did your code enter the javascript call?

If yes, Would you check the id of 'failedMark' generated by JSF, by viewing the source of the page in the browser and check if it is equal to the one given by you in the javascript.


Learning Java is a Never Ending Process .....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to use selectOneRadio with javascript?
 
Similar Threads
Run the MethodeBean & display the fields that corresponds to selectMenu
JSF SelectOneRadio and inputText
Message after SelectOneRadio moved to next line
selectOneRadio in several columns...
How to make a crud jsf with ebj without id filed?