jQuery :button 选择器

jQuery 选择器 jQuery 选择器

实例

选取带有 type="button" 的 <button> 和 <input> 元素:

$(":button")
尝试一下 »

定义和用法

:button 选择器选取带有 type=button 的 button 和 input 元素。

提示:通过该选择器使用 input:button 不会选取 button 元素。

jQuery 选择器 jQuery 选择器

新闻动态 联系方式 广告合作 招聘英才 安科实验室 帮助与反馈 About Us

Copyright © 2013 - 2019 Ancii.com All Rights Reserved京ICP备18063983号-5 京公网安备11010802014868号