I need to create three radio buttons and when the radio button is clicked, the corresponding text fields such as 3 different address types should get activated.
If i clicked the first radio button, the text field corresponding to that should be enabled and the other two address type fields should be disabled. This is working fine for the first radio button. But for the other two radio buttons also, the first address type field only gets enabled. The corresponding address type fields for second and third radio button is not getting activated.
Please help me to solve this issue in javascript
Thanks in advance.
If i clicked the first radio button, the text field corresponding to that should be enabled and the other two address type fields should be disabled. This is working fine for the first radio button. But for the other two radio buttons also, the first address type field only gets enabled. The corresponding address type fields for second and third radio button is not getting activated.
Please help me to solve this issue in javascript
Thanks in advance.
Comment