JQuery drop down box application sample introduction
- 2020-03-30 02:43:01
- OfStack
Realize two drop - down box data movement, append
Simplify the following
$('#add').click(function(){
var $options = $('#select1 option:selected'); //Gets the selected item
var $remove = $options.remove();
$remove.appenTo('#select2');
});
Simplify the following
$('#add').click(function(){
var $options = $('#select1 option:selected'); //Gets the selected item
$remove.appenTo('#select2');
});