本页内容
上一节: Sel_input_submit 下一节: Sel_input_button

jQuery :reset 选择器

jQuery 选择器

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


示例

$(":reset")

定义和用法

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

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

语法

$(":reset")

jQuery 选择器

上一节: Sel_input_submit 下一节: Sel_input_button
此页面最后编辑于2022年8月19日 (星期五) 11:39。