Search code examples
javascripthtmlcross-browsercss-selectorsselectors-api

Browser support for Selectors API


Is there a page somewhere which shows the current browser support for the Selectors API?


Solution

  • When can I use? has a compatibility table for the Selectors API, referring to it by the querySelector() and querySelectorAll() functions.

    Anyway, there is a surprising level of browser support: you'll find that IE8+ and most widely-used versions of other major browsers already implement Selectors API level 1.

    Work has begun on level 2, with features like find(), findAll() and matchesSelector() currently being implemented experimentally.