Color life Admin Panel | Dialogs

Dialogs

### Alert

    jAlert('This is a custom alert box', 'Alert Dialog');

### Confirm

            jConfirm('Can you confirm this?', 'Confirmation Dialog', function(r) {
                jAlert('Confirmed: ' + r, 'Confirmation Results');
            });

### Prompt

            jPrompt('Type something:', 'Prefilled value', 'Prompt Dialog', function(r) {
                if( r ) alert('You entered ' + r);
            });

### With HTML

            jAlert('You can use HTML, such as bold, italics, and underline!');