摘要:
用setTimeout实现与setInteval类似的功能,代码如下: (function(){ var self = arguments.callee; //获取函数本身 count++; if (count>=5) { console.log('位置获取失败,请重试'); return; } e 阅读全文
摘要:
has :包含,找元素里面的子元素(单个)123$('div').has('span').css();filter、not:找元素自身的 $('li').filter('.a').css()$('li').not('.a').css()filter 与 not是... 阅读全文