Questions tagged [alertify]

Alertify is a JavaScript alert/notification system that easily allows you to create alerts, prompt dialogs and confirmation dialogs. It also includes nice styles, including a bootstrap style.

Resources:

The following is a link to an online demo on contain the js and css source required for running alertify version 0.3.11. You can use it to demonstrate your question or issue online. Click here

95 questions
10
votes
2 answers

Javascript Alertify with return from confirm

I'm trying to use alertify.js as a confirmation dialog for all my confirm scripts. But it just isn't working like regular JS confirm does. In the code below I never get a return true function aConf ( mes ) { alertify.confirm( mes, function (e)…
jfreak53
  • 2,239
  • 7
  • 37
  • 53
8
votes
3 answers

is it possible to embedd HTML in an alertify.js alert?

I wanted to use Alertify.js to embed a Qualtrics survey, but I do not know if it is possible to pass in an HTML snippet (possibly an iframe?) instead of just text for the message of the alert. Does anyone know if it is possible or how it might be…
pocketfullofcheese
  • 8,427
  • 9
  • 41
  • 57
7
votes
2 answers

How to use ALERTIFY JS in React?

I'm trying to use ALERTIFYJS in react but its alertify alerts are not working. Below is the code (window.alert is working fine on my browser) import alertify from 'alertifyjs'; clickHandle = () => { alertify.alert('Alert Title', 'Alert Message!',…
Sultan Aslam
  • 5,600
  • 2
  • 38
  • 44
5
votes
1 answer

Alertify is executing before confirmation?

I decided to modify and style i little bit my code with Alertify. My old code :