Fetching contributors…
Cannot retrieve contributors at this time
23 lines (18 sloc) 798 Bytes


If you are reporting a bug you must create a test-case. You can fork this codepen or this jsfiddle to get started.

Also include re-produce steps and environement specs, such as OS and Browser (We support last 2 versions only).

Remember, calls to alertify.alert, alertify.confirm and alertify.prompt are none blocking.

  if(alertify.confirm('Are you sure?')){
    // this would execute immediatly
  alertify.confirm('Are you sure?', function(){
    //this would execute when the user clicks ok


For how-to questions, please post on stackoverflow and don't forget to tag with alertifyjs.