• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: checkbox selected
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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

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

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

  • Prev by Date: Bug in NSArray.componentsSeparatedByString()
  • Next by Date: Re: Bug in NSArray.componentsSeparatedByString()
  • Previous by thread: checkbox selected
  • Next by thread: Bug in NSArray.componentsSeparatedByString()
  • Index(es):
    • Date
    • Thread