jQuery :submit 选择器
jQuery 教程
· 2019-03-10 18:28:06
实例
选取带有 type="submit" 的 <input> 和 <button> 元素:
$(":submit")
定义和用法
:submit 选择器选取带有 type=submit 的 button 和 input 元素。
如果 button 元素没有定义类型,大多数浏览器会把该元素当作类型为 submit 的按钮。
提示:通过该选择器使用 input:submit 不会选取 button 元素。
语法
$(":submit")
点击查看所有 jQuery 教程 文章: https://www.codercto.com/courses/l/35.html
Masterminds of Programming
Federico Biancuzzi、Chromatic / O'Reilly Media / 2009-03-27 / USD 39.99
Description Masterminds of Programming features exclusive interviews with the creators of several historic and highly influential programming languages. Think along with Adin D. Falkoff (APL), Jame......一起来看看 《Masterminds of Programming》 这本书的介绍吧!