I'm making an application where the user should select their ddi . ddi is in select
as follows:
<select name="paises" id="ddi">
<option value="55" id="bra">Brasil</option>
<option value="1" id="eua">Eua</option>
</select>
I've put two lines, just one example, several. I would like that when the user selects the country, for example, Brazil , what appears after selected is 55 and not% Brazil . I hope I can explain.