jQuery [attribute!=value] Selector (original) (raw)

Last Updated : 11 Jul, 2025

The jQuery **[attribute!=value] selector in jquery is used to select each element that doesn't have the specified attribute and value.

**Syntax:

$("[attribute!='value']")

**Parameter:

**Example 1:

HTML `

jQuery [attribute!=value] Selector

Welcome to GeeksForGeeks

Geeks

For

GEEKS

Who is your favourite:

`

**Output:

**Example 2:

HTML `

jQuery [attribute!=value] Selector

Welcome to GeeksForGeeks

Geeks

For

GEEKS

Who is your favourite:

`

**Output: