SEL_Paiement.options[1].style.display = "block";
SEL_Paiement.options[2].style.display = "none";
SEL_Paiement.options[3].style.display = "block";
SEL_Paiement.options[4].style.display = "block";
SEL_Paiement.options[5].style.display = "block";
SEL_Paiement.options[6].style.display = "block";
SEL_Paiement.options[7].style.display = "block";
I wish I could do the same thing but with values and not options[1], like (I say a big mistake):SEL_Paiement.value = "Hello".style.display = "block";
JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and in almost every mainstream web browser.
TRUSTED BY
Some browsers will allow
Open in new window
and then haveOpen in new window
in cssbut the most cross browser safe version is to remove them and add them when needed:
Open in new window