JSFiddle - React, Tailwind, and code Playground

HTML

<div id="console"></div>

JavaScript

jQuery("#mySelect").live("change", function(e) {
    jQuery("#console").text("fired: " + arguments + new Date)
});

var select = jQuery("<select>", {
    id: "mySelect"
}).appendTo(document.body).get(0);

select.options.add(new Option("first", "first"));
select.options.add(new Option("second", "second"));
select.options.add(new Option("third", "third"));