JSFiddle - React, Tailwind, and code Playground

by whoamiwho

HTML

<select id="dropdwon1">
 <option value="1">Item1</option>
 <option value="2">Item2</option>
 <option value="3">Item3</option>
</select>

<select id="dropdwon2"></select>

JavaScript

$('#dropdwon1 option').clone().appendTo('#dropdwon2');