-1
I have the following javascript:
$(".enviar_email").click(function(){
$('#myModal').modal('hide');
window.location.href = "<? echo base_url('boleto/email/'); ?>/" + cliente + "/" + datainicial + "/" + datafinal;
});
I need that when clicking, do not redirect, just run the url. No redirect, how do I?
The URL returns some data?
– Jhonatan Pereira
No, because I do an execution on it in the background only...
– Sr. André Baill
Ajax wouldn’t be the way?
– MagicHat