Skip to content

Instantly share code, notes, and snippets.

@ivanfgm
Created June 28, 2018 18:48
Show Gist options
  • Save ivanfgm/cd65e7129b5a7e64ac79d469ab5cb748 to your computer and use it in GitHub Desktop.
Save ivanfgm/cd65e7129b5a7e64ac79d469ab5cb748 to your computer and use it in GitHub Desktop.
Una línea para evaluar profesores desde consola en SAES del IPN
var s = document.getElementsByTagName('select'), l = s.length; while (l--) s[l].value = s[l].children.length > 3 ? 5 : 2;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment