Calling server side method from asp.net page

Calling server side method from asp.net page

I'm trying to use jQuery to call a server side method in ASP.Net 2.0, but I keep getting my error message that I set in the error function.  Can someone show me where I can fix my code to get the server side method to be called and get the success message?

-----------------HTML image that calls popup-----------------
  1. <img id="imgDisciplineComments" src="assets/images/edit_icon.gif" class="editIcon handCursor" style="display: none;" alt="Add program/discipline outcome comments" />

-----------------HTML Hidden Div snippett-----------------
  1. <div id="divDisciplineComments" title="Program Discipline Comments" style="text-align: left; display: none;">
  2. <input type="text" id="hiddenDisciplineComments" class="hiddenDisciplineComments" runat="server" />
  3. </div>

-----------------jQuery Dialog-----------------
    1. $(function () {
    2. $("#divDisciplineComments").dialog({
    3. autoOpen: false,
    4. show: "blind",
    5. width: 500,
    6. height: 480,
    7. draggable: false,
    8. position: 'center',
    9. modal: true,
    10. buttons:
    11.             {
    12.             "Add": function () {
    13.             var name = $("#<%= hiddenDisciplineComments.ClientID  %>").val();

    14.             $.ajax({
    15.             type: 'POST',
    16.             url: 'DisciplineRecordReview.aspx/SaveComments',      //This is the correct name of my page and method call and case is correct.
    17.             data: "{'name':'Hello World'}",
    18.             contentType: "application/json; charset=utf-8",
    19.             dataType: "json",
    20.             success: function (msg) {
    21.             if (msg.d) {
    22.             alert("Successfully added new item");
    23.             }
    24.             },
    25.             error: function () {
    26.             alert("Error! Try again...");
    27.             }
    28.             });
    29.             },
    30.             "Cancel": function () {
    31.             $(this).dialog("close");
    32.             }
    33.             }
    34. });

    35.            $("#imgDisciplineComments").click(function (event) {
    36. event.preventDefault();
    37. $("#divDisciplineComments").dialog("open");
    38. });
    39. });

    40. -----------------Server side method snippett-----------------
      [WebMethod]
      public static bool SaveComments(String name)
      {
      return true;
      }