Joomla.it Forum

Joomla! 3 => Joomla! 3 => : andreasuriani 28 May 2019, 18:26:59

: Confirm Jquery non funziona
: andreasuriani 28 May 2019, 18:26:59
Ciao a tutti,
sto provando ad inserire un alert di conferma ma non funziona su Joomla.


:

 $.confirm({
    title: 'Encountered an error!',
    content: 'Something went downhill, this may be serious',
    type: 'red',
    typeAnimated: true,
    buttons: {
        tryAgain: {
            text: 'Try again',
            btnClass: 'btn-red',
            action: function(){
            }
        },
        close: function () {
        }
    }
});


chiaramente sotto <script>.
Uso JQUery easy per le librerie: qualche idea??