Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Show/hide radio buttons based on checkbox state
Message
De
28/01/2014 15:39:00
 
 
À
28/01/2014 15:24:51
Information générale
Forum:
Javascript
Catégorie:
JQueryUI
Divers
Thread ID:
01592468
Message ID:
01592507
Vues:
47
Only if you put the class on multiple checkboxes.

Something else I just thought of. Have you verified that there is only one checkbox with Id = AHYSChk01? I've made the mistake of having multiple objects with the same Id.

>Yes, yes I have...and yes it is.
>
>>Have you checked the source in the browser to verify that the Id is correctly translated to 'AHYSChk01' ?
>>
>>Might be safer to use a class to identify it. e.g: input type='checkbox' class='chk' .... and then:
$('.chk').click(function () { //etc});
>
>I thought of that, but wouldn't that do the same thing to ALL the checkboxes on the form?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform