jQuery简单思想

jQuery 如何获取元素 选择表达式可以是CSS选择器:   $(document) //选择整个文档对象   $('#myId') //选择ID为myId的网页元素   $('div.myClass') // 选择class为myClass的div元素   $('input ') // 选择name属性等于first的input元素 复制代码 也可以是jQuery特有的表达式:  $('a:first')...