title: Trying to call action method from jquery function
body: <p>I am new to both MVC and JQuery, but this should not really be that difficult. When I call the function, nothing happens. I put an alert box in the function, and I can see that the function is called.</p>
  
  <p>I found this, but it did not help me:
  <a href="https://stackoverflow.com/questions/8952953/calling-asp-net-mvc-action-methods-from-javascript">Calling ASP.NET MVC Action Methods from JavaScript</a></p>
  
  <p>This is my script:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      function oKButtonPressed(){    
          jQuery.ajax({
              type: "POST",
              url: "@Url.Action("MessageToPatient", "StartScreen")"
          });
      };
  &lt;/script&gt;
  </code></pre>
  
  <p><code>MessageToPatient</code> is the name of the action method. <code>StartScreen</code> is the name of the controller.</p>
  
  <p>Can you see something obvious I'm missing? Otherwise, it might be something with my MVC code.</p>