More controlling form fields
Once you begin to use JavaScript you’ll find that a lot of what you end up scripting involves dealing with forms. Form submissions, validations, dynamically displaying fields and even disabling and enabling fields. The disabling and enabling part can be confusing so we’re going to cover how to deal with this subject with each type of form field: the textbox, radio button, checkbox, button and dropdown list.
I’ve covered this once before, but I wanted to take a different approach with this article and also show you how to deal with radio buttons and trigger field control with a dropdown menu.