asp.net mvc 3 - I have a javascript that must generate in runtime. In MVC 3 -
i have javascript must generate in runtime. in controller string view .like asp literal control there method in mvc 3 razor.??? me masters
this might work:
<script type="text/javascript"> @html.raw(model.yourjavascriptstring) </script>
Comments
Post a Comment