Dec 7, 2015

Mix Razor and Javascript code on MVC 5

Many Developer confused when writing JavaScript code on Razor view at time they need to write mix c# code and Javascript code.

Such scenarios occurs when need to write mix code  on razor view.
lets see example what we are talking and how to resolve.
Just need to add @: before javascript statement.

Hope you are getting and useful.

No comments:

Post a Comment