I want to control my 'Search' button to be enable and disable in MVC.
I have two textbox - ( fromdate and todate ). If there is no value in these text textbox, I want to make the button 'Search' to be disable. If there are values in these two textbox, I want to make the button 'Search' to be enable.
If anyone have idea to know how to implement, kindly let me know. Thanks a lot for viewing my question.