<html><head><title>onDelete Example 3</title> <script type="text/javascript"> var userAction; function setUserAction(deleteorremove){ userAction = deleteorremove.useraction; return "[{\"action\":\"validate\",\"result\":\"true\"}]"; } function onPostDeleteJSON(){ if (userAction=='delete'){ window.location = "melt://showAlert/Delete from CRM useraction:"+ userAction; return "[{\"action\":\"validate\",\"result\":\"false\"}]"; }else if (userAction=='remove'){ window.location = "melt://showAlert/Remove from device useraction:"+ userAction; return "[{\"action\":\"validate\",\"result\":\"false\"}]"; } } </script></head><body></Body></html>
Skip to end of banner
Go to start of banner
JavaScript onDelete Function Example 3: Remove vs Delete
General
Content
Integrations