montrealmike
montrealmike

Reputation: 11631

jquery :contains something OR something else

What is the best way to implement the OR statement in a :contains jquery call?

Thanks

Upvotes: 1

Views: 153

Answers (1)

BoltClock
BoltClock

Reputation: 723688

The only way is to put two of them together:

$('a:contains(b), a:contains(c)')

Upvotes: 5

Related Questions