Html code
<select id="dropdwon1">
<option value="1">Item1</option>
<option value="2">Item2</option>
<option value="3">Item3</option>
</select>
<select id="dropdwon2"></select>
I need copy all options from dropdown1 to dropdown2, using jQuery. Whether it is possible to copy contents simply?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With