I am trying to read model variable in jquery ready function.
var jsNotes1 [email protected];
when the model.notes1 has an integer value, I was having no issues.
But when the model.notes1 has a string value, say for ex: "abcd", the line is getting converted as below
var jsNotes1 = abcd
and Jquery is assuming abcd as a variable rather than as string value and is throwing reference error that abcd is not defined.
Please help me if i am missing something here