I have the swal function working code but when i click cancel without doing, it is going into ajax call which i do not want to
$(document).on(\'click\',\'.addon\'