Answers for "set default value in a select list"

7

in select option how to make one default

<select>
  <option value="" selected disabled hidden>Choose here</option>
  <option value="1">One</option>
  <option value="2">Two</option>
  <option value="3">Three</option>
  <option value="4">Four</option>
  <option value="5">Five</option>
</select>
Posted by: Guest on May-03-2020
8

select default value

<option selected>
5
</option>
Posted by: Guest on April-03-2020

Code answers related to "set default value in a select list"

Browse Popular Code Answers by Language