Created
November 7, 2016 19:13
-
-
Save Glavin001/7b5b4e4b3845f859c47f9379bf2f8577 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
var $els = document.querySelectorAll("select option"); | |
for (var i of $els) { | |
i.selected = "selected"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment