Use `$.contains()`.