C# .NET - How to show/hide a Label on selecting Check Boxes With Javascript

Asked By Ajay Paritala on 12-Dec-12 12:12 PM

Hi,

I have 4 check boxes if i select only one check box then that Label and another check box shoould visible, If i select any other 3 check boxes that label and another check box should hide? Can some one help? With Javascript


Robbe Morris replied to Ajay Paritala on 12-Dec-12 03:06 PM
document.getElementById('my element id').style.visibility = 'hidden';
document.getElementById('my element id').style.visibility = 'visible';