回答編集履歴
1
計算逆だったので修正
test
CHANGED
@@ -98,11 +98,9 @@
|
|
98
98
|
|
99
99
|
if($(this).val() != ''){
|
100
100
|
|
101
|
-
$(this).parent().next().children('input').val((parseInt($(this).val())
|
101
|
+
$(this).parent().next().children('input').val(100 - (parseInt($(this).val())));
|
102
102
|
|
103
103
|
}
|
104
|
-
|
105
|
-
|
106
104
|
|
107
105
|
});
|
108
106
|
|