Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/85.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript Jquery打开多个选项卡在FF中工作,但在chrome中不工作_Javascript_Jquery - Fatal编程技术网

Javascript Jquery打开多个选项卡在FF中工作,但在chrome中不工作

Javascript Jquery打开多个选项卡在FF中工作,但在chrome中不工作,javascript,jquery,Javascript,Jquery,以下代码在Firefox中运行良好,但在chrome中不起作用(在chrome中,它只打开第一项) 它应该在新选项卡中打开所有选中的链接。有什么建议吗 jQuery(document).ready(function(){ jQuery("#open_in_new_tab").click(function(){ jQuery("#sales_order_grid_table input:checked").each(function(index){

以下代码在Firefox中运行良好,但在chrome中不起作用(在chrome中,它只打开第一项) 它应该在新选项卡中打开所有选中的链接。有什么建议吗

  jQuery(document).ready(function(){
      jQuery("#open_in_new_tab").click(function(){
          jQuery("#sales_order_grid_table input:checked").each(function(index){
           var $href=jQuery(this).parent().parent().attr("title");
            window.open($href);
      });
         });
          });

在Chrome上对我来说很好。。你能创建一个提琴吗?提琴:首先检查一些项目,然后单击网格顶部的“MarkierteÖffnen”按钮是的,这对我在Chrome中仍然很好。它会打开多个选项卡?它只为我打开了一个Chrome。我在两台不同的电脑上测试了它。。。Chrome阻止了弹出窗口。。该死的,谢谢你的提示:)