I am quite familiar with queryselector <= ie9 which searches by tag ID, name, attribute yet I am wondering if there's a kind of search which picks up on the contents of the elements e.g. innertext? Ideally I give it a search criteria based on a textstring and outputs the elements which contain it.

I think in jquery there's something like :contains(text)

However I am searching for a native solution, primarily for browsers <=IE9