Harish Batchu

Harish Batchu

  • NA
  • 255
  • 70.2k

Access the model attribute in jquery and set the value

Feb 7 2019 12:23 AM
I would like to access the model attribute using jquery and set the value dynamically and it will need to show
 
 below is code
-------------------------- 
<p class='@(Model.MessageColor == BaseModel.MessageType.Error ? "alert alert-danger" : "")'>
@Model.Message
</p>
 
as early as possible 
 thanking you 
 

Answers (3)