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

查看所有标签

Twenty Lectures on Algorithmic Game Theory

Twenty Lectures on Algorithmic Game Theory

Tim Roughgarden / Cambridge University Press / 2016-8-31 / USD 34.99

Computer science and economics have engaged in a lively interaction over the past fifteen years, resulting in the new field of algorithmic game theory. Many problems that are central to modern compute......一起来看看 《Twenty Lectures on Algorithmic Game Theory》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具