How to display textbox on radio button selected

544 views
0
0 Comments

Show/Hide textbox when radio button is selected

I have 3 radio buttons in a form on selection of one radio button (Other option) I want to display a textbox and hide when I am select Yes or No. Here is the my code.

<input type=”radio” name=”language”> Yes
<input type=”radio” name=”language”> No
<input type=”radio” name=”language”> Other

Please help me out with Javascript or Jquery for this I am a beginner.

htmlAdmin2609 Answered question September 16, 2021
Add a Comment
0

Use this code. This code is working fine..

htmlAdmin2609 Changed status to publish September 16, 2021
Add a Comment
You are viewing 1 out of 1 answers, click here to view all answers.
Write your answer.
close