Replies: 1
Hello,
I have a problem with the selected <option> when trying to select from a dropdown menu.
The code is:
<select id="gallery_id">
<option value="0">Create new gallery</option>
<option value="1">Gallery 1</option>
</select>
The default option is the first one but I want that the default one was the Option 2 “Gallery 1”. I can´t edit the html just to add the selected tag after the <option. How can I do it?
- This topic was modified 6 minutes ago by alepazm.