title: How to return back a message after a submit
body: <p>I have the following code which is not working as expected.  I want to have a retrun from the controller and using alert display the value returned from the controller.</p>
  
  <pre><code> $('#change').dialog({
              autoOpen: false,
              width: 380,
              buttons: {
                  "Close": function() {
                      $(this).dialog("close");
                  },
                  "Accept": function() {
                      var test = $("#ChangePasswordForm").submit();
                      alert(test);
                  }
              }
          });
  </code></pre>
  
  <p>In my controller I want to return a string </p>
  
  <pre><code>  [AcceptVerbs(HttpVerbs.Post)]
      public string ChangePassword(string Name)
      {
          var msg = "Cool!";
  if (name != null)
  
  
  return msg;
                  }
  </code></pre>
  
  <p>How can I do that?</p>