native JS selectors - mmedrano9438/peripheral-brain GitHub Wiki

querySelector(selectors) It is a string containing one or more selectors to match..... .......example below `

<script> console.log("#foo\bar"); // "#fooar" (\b is the backspace control character) document.querySelector("#foo\bar"); // Does not match anything console.log("#foo\\bar"); // "#foo\bar" console.log("#foo\\\\bar"); // "#foo\\bar" document.querySelector("#foo\\\\bar"); // Match the first div document.querySelector("#foo:bar"); // Does not match anything document.querySelector("#foo\\:bar"); // Match the second div </script>

`

⚠️ **GitHub.com Fallback** ⚠️