摘要: 这一节详细的总结jQuery选择器。 一、基础选择器 $('#info'); // 选择id为info的元素,id为document中是唯一的,因此可以通过该选择器获取唯一的指定元素 $('.infoClass'); // 选择class为infoClass的所有元素 $('div'); // 选择 阅读全文
posted @ 2016-11-19 22:16 小太阳8 阅读(988) 评论(1) 推荐(0) 编辑