skip to Main Content

How do get a dropdown of all countries in WordPress

Is there a shorter way to get all countries populated options, instead of writing options one by one, in the following dropdown? <select name="input-country" id="input-country" class="form-control form-control-alternative"> <option value="">Select a country / region…</option> <option value="AF">Afghanistan</option> <option value="AX">Åland Islands</option> <option value="AL">Albania</option>…

VIEW QUESTION

Html – disable select for certain input

I want to disable a select attribute when my type = radio input is checked. Here's the part of the code i'm talking about: <input id="societeInterne" name="radioSociete" type="radio" value="Interne"/><label>Interne / </label> <input id="societeExterne" name="radioSociete" type="radio" value="Externe"/><label>Externe - </label> <label for="PrestataireStit">…

VIEW QUESTION
Back To Top
Search