neel k

neel k

  • NA
  • 143
  • 136.3k

show and hide text box in jquery

Mar 18 2015 11:28 AM
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)