Design a piece of code through Javascript to achieve the following functions. The initial interface is as shown below. Select several options in the left label and then click –> to move them to the right frame and the left options disappear. After clicking ====>, all the options on the left will be moved to the right. After clicking on a few options on the right, and then clicking <—, these options will be moved to the left. Click <====, and the options will be moved to the right. All options are moved to the left. The code is as follows:
one two three four five six " Onclick="add()">
" Onclick="addall()">
<input type="butoon" value="
<input type="butoon" value="
seven
The results are as follows
The above is the entire content of this article. I hope it will be helpful to everyone’s study and I hope you will support me a lot.