set default selectvalue based on user select code example Example: select default value <option selected> 5 </option>