jQuery :focus 选择器

jQuery 教程 · 2019-03-10 12:42:07

实例

选取当前具有焦点的元素:

$(":focus")

定义和用法

:focus 选择器选取当前具有焦点的元素。

提示:该选择器常与一个标签名或者另一个选择器一起使用,如果不这么使用,该选择将等同于 ("*:focus")。

语法

$(":focus")

点击查看所有 jQuery 教程 文章: https://codercto.com/courses/l/35.html

查看所有标签

The  C Programming Language

The C Programming Language

Brian W. Kernighan、Dennis M. Ritchie / Prentice Hall / 1988-4-1 / USD 67.00

Presents a complete guide to ANSI standard C language programming. Written by the developers of C, this new version helps readers keep up with the finalized ANSI standard for C while showing how to ta......一起来看看 《The C Programming Language》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具