Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

select set selected value html

<select>
  <option value="2" 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>
 Run code snippetHide results
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #select #set #selected #html
ADD COMMENT
Topic
Name
7+2 =