0
我有一个选择菜单,为此,我有以下代码:避免调用从.change window.open当啪阻塞()
$('#sister-site-menu').change(function(){
if ($(this).val()) {
window.open($(this).val(), '_blank');
}
});
然而,这引起了弹出窗口拦截器在Chrome中被调用。我确定我以前见过网站这样做,有什么想法?
谢谢!
请参阅http://stackoverflow.com/a/2587692/1273830 – Prasanth