Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: checkbox selected





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


Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail

 _______________________________________________
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



--
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:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden

References: 
 >checkbox selected (From: fraise tagada <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.