Last active
March 13, 2020 11:08
-
-
Save ronaldgreeff/603c5888cedbe7c8c8f259820c851d11 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JavaScript Wildcard | |
- doesn't exist, but can use starts with and ends with: | |
elem = document.querySelectorAll('form[id^="form"][id$="-s"]'); | |
queryselector mathcing one id but excluding the other | |
document.querySelectorAll('[id^="primary_container"]:not([id="primary_container-__prefix__"])') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment