1
Answer

show and hide text box in jquery

neel k

neel k

9y
743
1
Hi
 
In my applicaion I am using MVC  5. In that I need to show and hide text box based on dropdown list value. I have total 4 text box and 2 dropdown list values. If I select one dropdown value I need to show only 2 text box and remaining 2 text box are hide. and page loding time I need to show only 2 text box instead of 4. I am using Jquery.
 
dropdown value is - 1- show 2 text box
dropdown value is  - 2 - show another 2 text box
default is show any 2 text box. 
 
Thanks 

Answers (1)