var GetNotification = function () { $.ajax({ type: 'POST', url: 'MyTest.Master/Test', async: false, cache: true, dataType: 'json', contentType: 'application/json;charset=utf-8', data: '{}', success: function (data) { alert(data.d); }, error: function (request, status, error) { alert(request.responseText); } }); }
url: 'MyTest.aspx/Test',
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)