摘要:
在项目中,需要设置页面title 我使用jQuery('title').html()这个方法在ie8中报错“SCRIPT65535: 意外地调用了方法或属性访问。 ”经查询:使用document.title="title content" 代替jQuery('title').html("title ... 阅读全文
posted @ 2015-06-10 14:11
萝卜丝小童鞋
阅读(236)
评论(0)
推荐(0)
摘要:
判断数组是否支持indexOfif (!Array.prototype.indexOf){ Array.prototype.indexOf = function(elt /*, from*/) { var len = this.length >>> 0; var from = Number(argu... 阅读全文
posted @ 2015-06-10 13:58
萝卜丝小童鞋
阅读(211)
评论(0)
推荐(0)

浙公网安备 33010602011771号