Ver originalvar lista = document.getElementById("select");for (i = 0; i < lista.options.length; i++) { if (lista.options[i].value = "4") { // Realizar acciones }}