質問編集履歴
1
必要なかったコードを削除。
test
CHANGED
File without changes
|
test
CHANGED
@@ -54,7 +54,6 @@
|
|
54
54
|
// イベントハンドラ(一覧表に要素を表示)
|
55
55
|
const handler = function(event) {
|
56
56
|
$.each(props, function(index, property) {
|
57
|
-
// console.log(event[property]);
|
58
57
|
$(document.getElementById(property)).text(toHtml(event[property]));
|
59
58
|
});
|
60
59
|
};
|
@@ -72,8 +71,6 @@
|
|
72
71
|
'val' : `mouse${ name }`,
|
73
72
|
'change' : function() { // 実行するイベント処理の切り替え
|
74
73
|
$('input[type="radio"]').each(function() {
|
75
|
-
console.log(this);
|
76
|
-
// console.log($(document.body['on']));
|
77
74
|
$(document.body)[this.checked ? 'on' : 'off'](this.value, handler);
|
78
75
|
});
|
79
76
|
$('td').text(`---`);
|