Server Responses
Simcify has a function that handles server responses. The function can still be called even if the response is not from the server as long as the correct JSON format is passed.
Usage
serverResponse({
"status":"success",
"title":"Changes saved!",
"message":"Your changes have been saved successfully.",
"notify": true,
"notifyType":"swal",
"callback":"reload()",
"callbackTime":"onconfirm",
"showCancelButton": true,
"buttonText": "View Changes"
});Response Explanation
Last updated