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 to click, do not redirect, just run the url. Without redirecting, how do I?