HELPTAG:Profession_Interstitial_Update_JavaScript

IMV_Ints.InterstitialEnd = function () { $('#btnSave').click(function (){ $('#btnSave').empty().append(" Saving..."); IMV_Ints.SaveProfession(); }); } IMV_Ints.SaveProfession = function(){ var PutInfo = { strAttribute: "profession", strData: $('#ddlProfession').val() }; $.ajax({ url: "/imvapi/member/setData", type: "PUT", dataType: "json", data: JSON.stringify(PutInfo), contentType: 'application/json; charset=utf-8', cache: false, beforeSend: function (jqXHR, settings) { //$("body").css("cursor", "progress"); }, success: function (result, textStatus, jqXHR) { //Reload the page... //alert("Success!"); }, error: function (jqXHR, textStatus, errorThrown) { //alert("FAILED!"); }, complete: function (jqXHR, textStatus) { IMV_Ints.InterstitialClose(); } }); }
Page 1 of 23
Next Page