{"action":"opened","issue":{"url":"https://api.github.com/repos/t4t5/sweetalert/issues/444","labels_url":"https://api.github.com/repos/t4t5/sweetalert/issues/444/labels{/name}","comments_url":"https://api.github.com/repos/t4t5/sweetalert/issues/444/comments","events_url":"https://api.github.com/repos/t4t5/sweetalert/issues/444/events","html_url":"https://github.com/t4t5/sweetalert/issues/444","id":105598709,"number":444,"title":"How to change sweetalert text?","user":{"login":"Malavos","id":5607619,"avatar_url":"https://avatars.githubusercontent.com/u/5607619?v=3","gravatar_id":"","url":"https://api.github.com/users/Malavos","html_url":"https://github.com/Malavos","followers_url":"https://api.github.com/users/Malavos/followers","following_url":"https://api.github.com/users/Malavos/following{/other_user}","gists_url":"https://api.github.com/users/Malavos/gists{/gist_id}","starred_url":"https://api.github.com/users/Malavos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Malavos/subscriptions","organizations_url":"https://api.github.com/users/Malavos/orgs","repos_url":"https://api.github.com/users/Malavos/repos","events_url":"https://api.github.com/users/Malavos/events{/privacy}","received_events_url":"https://api.github.com/users/Malavos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-09T13:41:31Z","updated_at":"2015-09-09T13:41:31Z","closed_at":null,"body":"Suppose I have this block of code here:\r\n\r\nswal({   title: \"Confirm delete\",   text: \"Do you want to delete these files?\",   type: \"info\",   showCancelButton: true,   closeOnConfirm: false,   showLoaderOnConfirm: true, }, function(){   setTimeout(function(){     swal(\"Ajax request finished!\");   }, 2000); });\r\n\r\n(this is taken from the example).\r\n\r\nAnd I wanted to do, at the click of the Ok button, to change the text of the alert. How can I manage to do so?"}}