摘要:
CSS选择器及其继承特性、层叠特性1.基本选择器 标记 id class 这个就不再作介绍了 2.复合选择器 交集 交集选择器由两个选择器直接连接构成,其结果是选中二者各自元素范围的交集 其中第一个必须是标记选择器,第二个必须是类别选择器或者ID选择器,须连续书写 如,div.class 并集 并集 阅读全文
摘要:
声明变量 var $variable= Jquery 对象; var varibake= DOM对象; var $cr= $("#id"); Jquery 对象; var cr= $cr.get(0) DOM对象;$cr.get(0)此处与 $cr[0] 等同 var cr=document.get 阅读全文