Questo il codice presente
jQuery(document).ready(function() {
if(jQuery("form[name='form_2']") && jQuery("form[name='form_2']").next("p") && jQuery("form[name='form_2']").next("p").length == 1)
jQuery.each(jQuery("form[name='form_2']").next("p").find("a"), function( index, value ) {
jQuery(this).removeAttr("href");
jQuery(this).css("cursor","pointer");
jQuery(this).click(function(e){
formSerialize = jQuery("form[name='form_2']").serialize();
url = window.location.origin+'/file%20modelli/stampa_licenze.php?'+formSerialize;
window.open(url, '_blank');
e.preventDefault();
return false;
});
});
});