page method not working
<p>I'm calling a page method using a jquery function that's somewhat like this:</p>

<pre><code>function GetNewDate(thedateitem) {

        ThisMonth = 3;
        TheDay = 1;
        TheYear = 2011;

    DateString = TheMonth + '/' + TheDay + '/' + TheYear;

    $.ajax({
        type: "POST",
        url: "/Pages/CallHistory.aspx/ResetDate",
        contentType: "application/json; charset=utf-8",
        data: DateString,
        dataType: "json",
        success: successFn,
        error: errorFn
    }) 
};
</code></pre>

<p>And then, in the code behind file, I have:</p>

<pre><code>[WebMethod]
public static void ResetDate(DateTime TheNewDate)
{
    var test = 4;
}
</code></pre>

<p>However, when I put a breakpoint on var test = 4, it never stops there.</p>

<p>What am I missing?</p>

<p>Thanks.</p>
