I have the following MVC Url Helper:
var result = $(this).val();
var url = '@Html.Raw(Url.WpActionUrl((object)@ViewBag.Org_ID, "DocumentList", "MP", (object)result,null, null))';
The problem that I am experiencing is that the code will not recognize"result" in the MVC Url Helper.
I tried to delimit the single quote but no luck.
var url = '@Html.Raw(Url.WpActionUrl((object)@ViewBag.Org_ID, "DocumentList", "MP", (object) ' + result + ',null, null))';