Harish Batchu

Harish Batchu

  • 1.6k
  • 245
  • 9.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)