【发布时间】:2014-02-13 12:40:04
【问题描述】:
我正在使用 jQuery Easyui 日期框并将值用作 url 中的查询参数。
var date = $('#dd').datebox('getValue');
window.open('file.php?date='.date);
我将日期框留空并触发代码。
当我在 IE 8.0 中检查 file.php 时,我得到 $_GET['date']='1970-01-01'
但在 Chrome v32.0 中是$_GET['date']='0';
谁能解释原因并给出提示,以便我可以使用 url 发送相同的值?
【问题讨论】:
标签: javascript php jquery google-chrome jquery-easyui