I have 2 dropdownboxes.
<select id='SerK1'><option values="123">123</option></select>
<select id='SerK2'></select>
Then I wanna copy contents from SerK1 to SerK2
document.getElementById('SerK2').innerHTML+=document.getElementById('SerK1').innerHTML;
alert(document.getElementById('SerK1').innerHTML);
This prints out the expected result : 123
alert(document.getElementById('SerK2').innerHTML);
However, for this one, it somehow removes the and came up with only 123 in the pop up alert screen.
Any ideas how to fix this?
Cheers