Harish Batchu

Harish Batchu

  • 1.7k
  • 247
  • 19.5k

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" : "")'>
as early as possible 
 thanking you 

Brought to you by: JavaScript SDK for Bold BI dashboard and analytics embedding. Free trial.

Answers (3)