Ajax method Example

Ajax method without parameters
 
$.ajax({
$.ajax({
                type: "POST",
                contentType: "application/json",
                data: "{}",
                url: "ViewEvents.aspx/GetEvents",
                dataType: "json",
                success: function (data) {$.ajax({
                type: "POST",
                contentType: "application/json",
                data: "{}",
                url: "ViewEvents.aspx/GetEvents",
                dataType: "json",
                success: function (data) {$.ajax({
                type: "POST",
                contentType: "application/json",
                data: "{}",
                url: "ViewEvents.aspx/GetEvents",
                dataType: "json",
                success: function (data) {$.ajax({
                type: "POST",
                contentType: "application/json",
                data: "{}",
                url: "ViewEvents.aspx/GetEvents",
                dataType: "json",
                success: function (data) {$.ajax({
                type: "POST",
                contentType: "application/json",
                data: "{}",
                url: "ViewEvents.aspx/GetEvents",
                dataType: "json",
                success: function (data) {$.ajax({
                type: "POST",
                contentType: "application/json",
                data: "{}",
                url: "ViewEvents.aspx/GetEvents",
                dataType: "json",
                success: function (data) {$.ajax({
                type: "POST",
                contentType: "application/json",
                data: "{}",
                url: "ViewEvents.aspx/GetEvents",
                dataType: "json",
                success: function (data) {
$.ajax({
                type: "POST",
                contentType: "application/json",
                data: "{}",
                url: "ViewEvents.aspx/GetEvents",
                dataType: "json",
                success: function (data) {
$.ajax({
                type: "POST",
                contentType: "application/json",
                data: "{}",
                url: "ViewEvents.aspx/GetEvents",
                dataType: "json",
                success: function (data) {

Comments

Popular posts from this blog

what is Event Cache table in sharepoint

CAML Query syntax and options in SharePoint

Change anchor link url in sharepoint calender