jquery $(多选择器).each()不是函数firefox

我在页面中有以下代码;

$(document).ready(function() { window.setInterval(function(){ $("#customers, td, #span").each(function(){ if($(this).children("span").attr("alt")!=null) var dt=new Date($(this).children("span").attr("alt").split(",")[3]).getTime(); if(dt>$.now()-10*1000){ //am i right here?? console.log("animating"); $(this).parent().fadeOut("slow"); $(this).parent().fadeIn("slow"); } }); },1000); }); 

这段代码在chrome上工作正常,但在firefox上不起作用; firefox说TypeError: $(...).each is not a function

谁能帮我??

看起来new Date()在firefox中不起作用。

日期是;

 new Date("2013-04-07 15:39:17"); 

我把它更新为;

 new Date("2013/04/07 15:39:17");