Dynamic Dropdown Example

A jQuery plugin that makes it possible to dynamically populate options of a native select element from a JSON file (or JSON API) you provide.

// data.json
[
  {"name":"jQuery", "url":"jQueryScript.net"},
  {"name":"JS & CSS", "url":"CSSScript.com"},
  {"name":"Google", "url":"Google.com"},
  {"name":"Youtube", "url":"Youtube.com"},
  {"name":"Facebook", "url":"Facebook.com"},
  {"name":"Instagram", "url":"Instagram.com"},
  // more data here
]