Title: Default Selected Option
Last modified: March 23, 2017

---

# Default Selected Option

 *  [alepazm](https://wordpress.org/support/users/alepazm/)
 * (@alepazm)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/default-selected-option/)
 * _[ Moderator note: [moved to Fixing WordPress](https://wordpress.org/support/topic/before-posting-in-everything-wordpress/?view=all).]_
 * 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 9 years, 2 months ago by [alepazm](https://wordpress.org/support/users/alepazm/).
    -  This topic was modified 9 years, 2 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [stephencottontail](https://wordpress.org/support/users/stephencottontail/)
 * (@stephencottontail)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/default-selected-option/#post-8945621)
 * Are you using a plugin to add this dropdown (and the gallery itself) or is it
   a built-in option from your theme?
 *  Thread Starter [alepazm](https://wordpress.org/support/users/alepazm/)
 * (@alepazm)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/default-selected-option/#post-8945635)
 * It´s NextGen Gallery plugin. The dropdown menu appears when you try to upload
   an image and you need to select where you want to upload them (On wich gallery).
   I searched for a “default gallery” option inside the plugin but nothing..
 *  [stephencottontail](https://wordpress.org/support/users/stephencottontail/)
 * (@stephencottontail)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/default-selected-option/#post-8945670)
 * Your best bet would be to post at your plugin’s dedicated support forum: [https://wordpress.org/support/plugin/nextgen-gallery#new-post](https://wordpress.org/support/plugin/nextgen-gallery#new-post)
 *  Thread Starter [alepazm](https://wordpress.org/support/users/alepazm/)
 * (@alepazm)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/default-selected-option/#post-8945681)
 * Yeah I already did that but it seems that they are very inactive there.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Default Selected Option’ is closed to new replies.

## Tags

 * [html](https://wordpress.org/support/topic-tag/html/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [alepazm](https://wordpress.org/support/users/alepazm/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/default-selected-option/#post-8945681)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
