Calling Page Method
Today I will tell you how to call a page method using ajax request. AjaxRequest.aspx < script type ="text/javascript" src ="Scripts/jquery-1.7.2.js"></ script > < script type ="text/javascript"> $(document).ready( function () { $( "#btnGetData" ).click( function () { $.ajax({ type: "POST" , url: "AjaxRequest.aspx/GetData" , data: "{}" , contentType: "application/json; charset=utf-8" , dataType: "json" , success: function (msg) { $( "#GetData" ).append(msg.d); } }); }); }); </ script > < div id ="Data"> To get data usin...