title: Calling controller method from Javascript function
body: <p>i want to call a controller method from a javascript method. I have the following code:</p>
  
  <pre><code>function test() {
          $.ajax({
          url: @Url.Action("abc"),
          method: 'GET',
          success: function(data) { alert(data); }
     });
       }
  
  
  
  [HttpGet]
          public string abc(string id)
          {
              return "Info";
          }
  </code></pre>
  
  <p>How is it possible to get the "info" string back, in my alert() in the Javascript controller?</p>