Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

access to model from js

var model = @Html.Raw(Json.Encode(Model));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #access #model #js
ADD COMMENT
Topic
Name
8+6 =