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
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden
This email sent to email@hidden