質問編集履歴
2
変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -66,43 +66,7 @@
|
|
66
66
|
|
67
67
|
</table>
|
68
68
|
|
69
|
-
|
69
|
+
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
$(document).ready(function() {
|
74
|
-
|
75
|
-
$('input[name=right]').on('click', function() {
|
76
|
-
|
77
|
-
move('s1', 's2');
|
78
|
-
|
79
|
-
});
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
$('input[name=left]').on('click', function() {
|
84
|
-
|
85
|
-
move('s2', 's1');
|
86
|
-
|
87
|
-
});
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
var move = function(_this, target) {
|
92
|
-
|
93
|
-
$('select[name=' + _this + '] option:selected').each(function() {
|
94
|
-
|
95
|
-
$('select[name=' + target + ']').append($(this).clone());
|
96
|
-
|
97
|
-
$(this).remove();
|
98
|
-
|
99
|
-
});
|
100
|
-
|
101
|
-
};
|
102
|
-
|
103
|
-
});
|
104
|
-
|
105
|
-
</script>
|
106
70
|
|
107
71
|
</body>
|
108
72
|
|
1
タグ追加
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|