$.post not getting called in webservice
<pre><code>function sendStates(data) {
    var states = new Object();
    states.Id = 1;
    states.Name = "Chandan";
    $.post("WebService.asmx/MultiDim/", states, function (data) {
        alert("reached");
    });
}
</code></pre>

<p>sendStates(null);</p>

<p>WebService file:</p>

<pre><code>[WebMethod]
        public void MultiDim(statesTemplate states)
        {

        }
</code></pre>

<p>MultiDim function doesnt get called.</p>
