57
rated 0 times
[
64]
[
7]
/ answers: 1 / hits: 107872
/ 13 Years ago, thu, june 23, 2011, 12:00:00
How can I access JavaScript value inside @URL.Action()
?
something like:
<script type=text/javascript>
function name(myjavascriptID)
{
jQuery(#list_d).jqGrid('setGridParam', { url: '@URL.Action(download file, download, new { id = <myjavascriptID> })', page: 1 });
}
</script>
More From » asp.net-mvc