加载中
小心js

1.parseInt(a, b); b只接收[0], (2, 36],不在其中返回NaN 2.reduce reduce作用在一个空数组上( [] )报错 3.map || filter 不会作用在空对象上 4.浮点运算只有0.2-0.1==0.1,其余数...

2015/12/09 16:00
82
ERROR-3:React

Warning: ReactDOMComponent: Do not access .getDOMNode() of a DOM node; instead, use the node directly. This DOM node was rendered by `Header`....

ERROR-2:React

Warning: render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This ...

ERROR-1:React

最近在写一个组件,折腾了不少时间,一直关注react进展,刚好手头闲着,准备折腾新东西,博文记录遇到的错误提示和解决办法.

jquery选择器大全

jQuery 的选择器可谓之强大无比,这里简单地总结一下常用的元素查找方法 $("#myELement") 选择id值等于myElement的元素,id值不能重复在文档中只能有一个id值是myElement所以得到的是唯一的元...

WEB(一)_取消多个标签点击时灰色背景

手机页面上面 按钮点击的时候有阴影,怎么除去那个点击时的蓝色阴影?

2015/05/13 17:08
133
WEB(二)_a标签点击,去除虚线,简单粗暴

a标签点击,去除虚线,简单粗暴

2015/05/04 10:46
132
WEB(三)_HTML5中Input 属性介绍

介绍type和placeholder和autofocus的用法和判断

WEB(五)_​Modernizr.js检测浏览器HTML5新增特性的支持

有一部分浏览器对HTML5的支持不够理想,对于不支持HTML5的浏览器JS将无法获得DOM对象,需要if-else要兼容

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部