3
Answers

show and hide when radio button is clicked

Garima Bansal

Garima Bansal

1y
489
1

I have a radio button 

 @Html.RadioButtonFor(model => model.flag, "RA", htmlAttributes: new { @id = "Roflag2", })
    Call for Addl. Particulars   

and a div

<div class="row" id="callfor">
                        
                    </div>

IF radio button is clicked then this div shown otherwise hide,

How can i do this?

Answers (3)