1

Date.parse Firefox返回Nan的解决办法

Posted by 晴云孤魂 on 2011 年 10 月 09 日 in 默认分类 |

不知何故,firefox对于类似“2010-12-20 15:55:00”这种时间的转换格式不感冒,返回Nan,查了查资料,把“-”替换为“/”就可以了; 就是实现一个确到秒的倒计时功能,不知哪一部分与FF不兼容,在IE中显示正。。。

标签:

Copyright © 2011-2024 晴云孤魂's Blog All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.

普人特福的博客cnzz&51la for wordpress,cnzz for wordpress,51la for wordpress