Created
April 4, 2017 09:30
-
-
Save yi-jiayu/0657616aeca123fd18b40a9c9dd87ef9 to your computer and use it in GitHub Desktop.
TEAMMATES quick feedback script
This file contains 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 boxes = document.querySelectorAll('.numScaleAnswerBox'); | |
var textBoxes = document.querySelectorAll('.mce-content-body'); | |
[].forEach.call(boxes, function(box) { | |
box.value = 5; | |
}); | |
[].forEach.call(textBoxes, function(box) { | |
box.textContent = 'Great'; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment