:lang() selector

:lang() Selector

lang selector

Description: Selects all elements of the specified language.

  • version added: 1.9jQuery( ":lang(language)" )

    language: A language code.

The :lang() selector matches elements that have a language value equal to the supplied language code or that start with the supplied language code immediately followed by "-". For example, the selector $("div:lang(en)")will match <div lang="en"> and <div lang="en-us"&