低系统版本的苹果手机的浏览器存在不少JS问题浏览器
一 date 问题事件
1.new Date() {至少10.3版本已下存在这个问题}io
苹果手机只能识别 new Date('2017/04/12') 这样格式的日期 “2017-04-27”或者“2016.04.15”这样的都不能识别 function
甚至 8.3系统 '2017/4/12'这样都不能识别cli
2.new Date().toLocaleDateString() {至少8.3如下存在问题,10.1之后正常}date
低版本 苹果手机new Date().toLocaleDateString() 会获得 2017年5月28日 这样的结果事件绑定
二 Jquery 事件绑定方法
1. $(document).on("click", ".discountPart .discountRow ", function () {});di
这种方法适用于动态生成的discountPart 类下的 discountRow 类的控件;poi
可是对已safri浏览器却不能适用,解决办法是在 discountRow 这个类的CSS中加入 cursor:pointer;