title: Relative URL inside $ajax with asp.net mvc 3
body: <p>I know one can use this function</p>
  
  <pre><code>@Url.Action("MyInfo", "Home")
  </code></pre>
  
  <p>to avoid the hardcoding of urls, but my <code>$.ajax</code> calls are in a separate .js file. Would the above still work? </p>
  
  <p>From my knowledge, the <code>@Url.Action</code> will only work inside the Razor file. But considering that we are advised to use non-obtrusive JS, I am not quite sure how I would use the <code>@Url.Action</code>.</p>
  
  <p>Please advise.</p>