I want to know that "how to show hidden fields when a user selects a particular option in the html form"
I want the fields to be hidden first,then when the users selects:
Option A- Particulars fields which have I will create for this option must be displayed.
If
Option B-Particular field which I will create for this option must be displayed.
I want this code to run as soon as the user selects a option.Not on a button click