[英]My window.open open a new window instead of a new tab
執行window.open時,我想打開一個新標簽,但是在我的頁面中,它會打開一個新窗口。 如何在新標簽頁中打開?
這是我的代碼:
$('.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;
}
});
});
directly in your form? 您是否嘗試直接在表單中設置屬性 ? ( mdn )
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.