Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi, I'm using a Chrome autofill extension. From this saved static page:

https://spazioweb.w3spaces.com/reference.html

I would like would be autoselected:

"INTERNA" in "Circolazione" field, if

user writes "REF." in "Sezione".

This should be the "Circolazione" code block, thanks!

<option value="D">DISTRIBUTORE</option>
<option selected="" value="I">INTERNA</option>
<option value="L">LIBERA</option>
<option value="N">NO</option>
<option value="O">Disponibile online</option>
<option value="Y">Escluso ILL/ISS a tempo</option>
<option value="Z">Escluso ILL/ISS definitivo</option>
</select>">


What I have tried:

mySelect.value = input.value === "SIREF." ? "I" : "none";
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900