Sunday, January 22, 2012

another example of a POST .ajax call

$.ajax({

   type: "POST",

   url: '/session/set',

   context: self,

   data: "key=" + id + "&payload=" + sobj,

   success: dfr.resolve,

   error: function (a, b, c) {

      debugger;

      alert(b);

   }

});

No comments:

Post a Comment