My code is getting this error:
$.alert is not a function
I use jQuery from a CDN and jquery-confirm to run code. The first $.alert
after document.ready works fine, after Btnsend.click it does not work.
$(document).ready(function(e) {
$.alert('Teste Jquery-confirm'); // works
var unidade = "<?php print $unidade ?>";
$('#btnsend').click(function() {
$.alert('clicado'); // error