blank selector
Description: Selects all elements with a blank value.
-
jQuery( ":blank" )
Blank means either no value at all or only whitespace.
The implementation does a check like this: jQuery.trim(value).length == 0
Example:
Finds input elements with no value or just whitespace.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
|