Answers.Body: <p>Do you need something like this (using jQuery): </p>
  
  <pre><code>$('#yourID').append( '&lt;option value="value"&gt;text&lt;/option&gt;' );
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-19T13:42:15.270Z
Answers.LastActivityDate: 2017-04-19T13:42:15.270Z
Answers.UserDisplayName: Marco
Body: <p>I'm developing a plugin that works with Spotify's API. I'm wondering if can I add elements to a ElementSelect field. I do have the IDs of the elements I want to add.</p>
  
  <p>Thanks!</p>
  
Tags: <plugin-development>
Title: Add elements to ElementSelect via Javascript
ThreadText: # Add elements to ElementSelect via Javascript
  
  (Asked by: username_0 on 2017-04-19)
  
  I'm developing a plugin that works with Spotify's API. I'm wondering if can I add elements to a ElementSelect field. I do have the IDs of the elements I want to add.
  
  Thanks!
  
  **Tags:** plugin-development
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-04-19. Score: 1
  
  Do you need something like this (using jQuery):
  
  ```
  $('#yourID').append( '<option value="value">text</option>' );
  
  ```
  
  
  ---
  
  