Hiding HTML Form Elements with JavaScript December 08 2006
We recently had a requirement to update a form to reveal / hide various form elements based on a dropdown list selection. Since the site was done in CodeCharge, using server-side .NET visibility was going to prove to be a real pain in the ass down the road when we made additional changes. CodeCharge does “Auto Generated” code so any custom code you change you won’t be able to add other elements in the future without your original custom code being corrupted.
There are a few basic things you need to do:
