lundi 3 avril 2017

How to make a month option with for loop and if else in javascript?

this is my code.

 <select name="select" class="custom-select">
          <option selected>Month</option>
          <option value="1">January</option>
          <option value="2">Febuary</option>
</select>

I don't know how to change it into a month for loop with if else.

Aucun commentaire:

Enregistrer un commentaire