You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Mr Arvind Pandey <ar...@yahoo.co.in> on 2006/12/26 10:11:35 UTC
help for java script.
Hi all,
i am using h:selectManyCheckbox in my
application. Now I want to write a java script
function which will show a message if none of the
check box is selected on click of a button.
How should I check whether any one of the check
boxes has been selected? If none then I will have to
show a message like 'please select one of the check
box'.
h:selectManyCheckbox id="authorities"
value="#{newuser.authorities}" layout="pageDirection"
styleClass="field_text_font">
followed by f:selectItems
pls help me...
Thanks and regards....
Arvind
Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php