Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

access to model from js


var model = @Html.Raw(Json.Encode(Model));

Source by nullorempty.org #
 
PREVIOUS NEXT
Tagged: #access #model #js
ADD COMMENT
Topic
Name
2+2 =