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

时间:2014-12-10 23:13:17

标签: 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){
           var $href=jQuery(this).parent().parent().attr("title");
            window.open($href);
      });
         });
          });

0 个答案:

没有答案