jQuery选择器 链接: jQuery选择器 基本选择器 Basics * 选择所有元素 .class 选择 class ,如: $('.mybox') element 选择 element ,如: $('p') #id 选择 id ,如: $('#box') selector1,selectorN 可以同时选择多个元素,如: $('div, p.box, #phone') 梁晨大约 4 分钟选择器选择器框架学习javascriptjquery前端