Last active
March 18, 2024 11:14
-
-
Save atharvakadlag/efa7586a95cc68d372f946434fbb6228 to your computer and use it in GitHub Desktop.
For educational purposes only. Don't be lazy. I swear I never use this to slack-off from filling the feedback form. I like selecting a value for 80 drop-downs and i do it sincerely every time.
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
let range = [9,10] // range of points you wanna give | |
document.querySelectorAll("table select").forEach((e, i)=>{ | |
if (i >= 60 && i < 75) { // some special faculty | |
e.value = "10" // or could be 1 | |
} else { | |
var random_index = Math.floor(Math.random() * range.length) | |
e.value = range[random_index] | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
inspect
, clickconsole
134845645-e6333a6f-95d9-4620-a386-0bed7811efb7.mov