Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Autoselect based on a condition

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" dropdown field, if

user writes "REF." in "Sezione"

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

<select id="idtpCircolazione" name="tpCircolazione" onchange="controllaMovimentiInve();" style="min-width: 0px; display: none;">
<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>
 

Buy us a coffee!

Buy me a coffee.
Back
Top Bottom