任何人都知道爲什麼這不起作用?JQuery Date()函數不工作
var lastReceivedBeginDate = new Date($("input[name='lastReceivedFromYear']").val(),$("input[name='lastReceivedFromMonth']").val(),$("input[name='lastReceivedFromDay']").val(),$("input[name='lastReceivedFromHour']").val(),$("input[name='lastReceivedFromMinute']").val(),$("input[name='lastReceivedFromSecond']").val());
THX
*嘆*我不敢相信這是來這。 'Date()',一個jQuery函數! – 2010-04-28 21:00:27
'console.log(lastReceivedBeginDate);' – czarchaic 2010-04-28 21:20:42
從輸入中返回哪些值?可能它們沒有形成有效的日期。 – edwin 2010-04-28 22:33:47