code_junkie

Best way to implement save field in DataGrid when user tabs out or field looses focus

Nov 13th, 2011
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. $.ajax({
  2. type: "POST",
  3. url: "../Services/Utilities.svc/IsPrintDownloadDone",
  4. data: "{}", //This should be a JSON representation of yoru inputs that the WCF can serialize into objects
  5. contentType: "application/json; charset=utf-8",
  6. dataType: "json",
  7. success: function(msg) {//msg.d has the response from server
  8. },
  9. error: function (xhr, textStatus, errorThrown) {
  10.  
  11. }
  12. });
Add Comment
Please, Sign In to add comment