Re: checkbox selected
Re: checkbox selected
- Subject: Re: checkbox selected
- From: "Daniele Corti" <email@hidden>
- Date: Thu, 31 May 2007 13:06:14 +0200
2007/5/31, fraise tagada <email@hidden>:
HI,
I have several WOCheckBox and I want when I select one that the other select automatically too.
How can I do?
Thanks
use _javascript_s:
<script>
function CheckOrUncheckAll(myself)
{
count = document.frm.elements.length;
for (i=0; i < count; i++)
{
if(document.frm.elements[i].type == "checkbox")
{document.frm.elements[i].checked = myself.checked;}
}
}
</script>
with your <WOFrom: name="frm";>
in your checkbox set
this should work
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden
This email sent to email@hidden
--
Daniele Corti
AIM: S0CR4TE5
Messenger:
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden