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();
}
});
}
HELPTAG:Profession_Interstitial_Update_JavaScript
Nov 6, 2017
Latest in Home
Overdue baby dies after scan results sent 'to nowhere'
November 20, 2024
Ultrasound-guided nerve blocks prove safe for pain management
November 15, 2024
U.K. issues advice on sedation use in radiology
November 8, 2024
EANM 2024 hits record attendance
November 7, 2024