Match equals options when get chosen order

If you choose the options "Foo bar" and "Foo", only the first one will be selected if use ```:contains``` selector.

I changed ```:contains``` to ```:equals```. It works, but I didn't find documentations about ```:equals```. Do you know which jQuery versions are compatible?