Ciao ciro78, la soluzione e' aggiungere location = "sito.html"; nel plugin per ottenere un collegamento href come mostrato nel codice in basso. Spero sia di aiuto.
codice:$( "#confirm" ).on( "click", function() { $cw({ title: 'testo evidenza A', content: 'testo evidenza B', theme: 'light', okay: { text: 'testo bottone A', action: function() { console.log('Clicked okay button'); location = "sito.html"; } }, cancel: { text: 'testo bottone B', action: function() { console.log('Clicked cancel button'); location = "sito.html"; } } }); });

Rispondi quotando