When executing window.open I want to open a new tab but in my page it opens a new window. How can I open in a new tab?
Here is my code :
$('.visu_cr_pdf').click(function(){
$.post("{ART_wwwroot}page.php?module={module}&action=gene_p4_pdf",$('#p4_cr'), function(data) {
var reponse = $.parseJSON(data);
if(reponse.status=='success'){
window.open('{ART_wwwroot}page.php?module={module}&action=visu_p4_cr','_blank');
return false;
}
});
});