Using the new ASP.NET MVC 3.0 Razor View Engine, is there any way to call upon it within javascript code?
In the normal view engine, you could do something like ...
<script type="text/javascript">
$(document).ready(function() {
function somejQueryFunction(obj) {
<%= obj.ExecuteSomething() %>
}
});
</script>
But I cannot find any way to do similar with Razor.