$.ajax({
type: "POST",
url:'/saveLayout',
data: {id : layoutId, section : arrSection},
success: function(response){
$('#successMsg').addClass("errorBox");
document.getElementById('successMsg').innerHTML="Your data has been successfully saved.";
}
});
Displaying the success message in the ajax success function seems to encounter a issue in Chrome when trying to show it multiple times. It works fine on the first attempt, but subsequent attempts fail to display the message.