Mark Tabor

Mark Tabor

  • 560
  • 1.9k
  • 430.3k

on edit hide div based on model value javascript in razor view mv

Oct 12 2020 12:17 AM
Hi I have a web application usig asp.net mvc in which i want to show and hide two div's based on the model value how to achieve that I want to show BLOCK and module when Semster_Id is Null in the database , and i want to show semester_ID and its dropdown when Block and Module both are null/
 check my image . what is the best approach my model is strongly type model and on edit i want to show and hide

Answers (1)