"This is what you mean by CSS-in-JS, right?"
But seriously, those selectors are making me cringe. Does it even work with the spaces?
$('[id="Fish & Chips"]')
$('[class="Fish & Chips"]')But seriously, those selectors are making me cringe. Does it even work with the spaces?
$('[id="Fish & Chips"]')
$('[class="Fish & Chips"]')So using newer CSS selector features, like attribute value selectors, will work fine in post-Sizzle jQuery versions.