title: Use Separate js File And use Url Helpers in it with ASP.NEt MVC 3 and Razor View Engine
body: <p>I ask a similar question <a href="https://stackoverflow.com/questions/9921517/use-ajax-and-jsonresult-in-asp-net-mvc-3">here</a> and <code>Darin Dimitrov</code> answer that we can't use Url helper like <code>$.ajax({  url: '@Url.Action("Index")', . . .</code> in separate js file so what is your suggestion to use Url helper in view page and pass it to javascript, I don't want to use hard code url, I need to find it with Url helper.? </p>