Im trying to either set the value of a variable to @Model.IsPublic which is a boolean value. In my javascript/jquery i have this.
var [email protected]
when i put a semicolon to finish the line it gives me an error. Might be a dumb question. but how can i set a variable to the models value