JQuery server side method call internal
<p>i often call my aspx server side method with the help of jquery....like</p>

<pre><code>$.ajax({
            type: "POST",
            url: "login.aspx/Authenticate",
            data: JSON.stringify(DTO),
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            success: function (data) {
                sHtml = data.d;
                if (sHtml != "") {
                    alert(sHtml);
                    location.href = sHtml;
                }
            },
            error: function (XMLHttpRequest, textStatus, errorThrown) {
                alert(textStatus);
            }

        });
</code></pre>

<p>but the funny things is that i dont know how jquery call my static method from outside.
i saw that when i call my server side method then page_load does not fire but in case of updatepanel partial postback page_load execute first.</p>

<p>so i want to know the internal logic of jquery that how it can call server side method directly........looking for good explanation. thanks</p>
