Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Show/hide radio buttons based on checkbox state
Message
De
27/01/2014 16:59:59
 
 
À
Tous
Information générale
Forum:
Javascript
Catégorie:
JQueryUI
Titre:
Show/hide radio buttons based on checkbox state
Divers
Thread ID:
01592468
Message ID:
01592468
Vues:
67
Hi Gang

Let's pretend that I know very very little about jQuery, so please use small words.

I'm trying to hide/show radiobuttons based off the state of a checkbox and this code is part of a TextMerge VFP section
                   script type="text/JavaScript" Language = "JavaScript">
                           $('#AHYSChk01').click(function()
                           {
                              if ($'#AHYSChk01').is(:checked))
                               { $('#YSElig01').show(); 
                                } 
                              else
                               { $('#YSElig01').hide(); 
                                }
                           }
                         
                      /script>	
where AHYSChknn is the div id for the radiobuttons and AHYSChknn is the checkbox id

I would have included the entire chunk of code, except we can't inline HTML, afaik

Thanks

What am I missing?
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform