回答編集履歴
3
記事修正
test
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
disabledは「入力不可」なだけで送られます。
|
2
|
-
|
3
1
|
あと比較演算は == または === などですよ。
|
4
2
|
|
5
3
|
|
2
ソース修正
test
CHANGED
File without changes
|
1
ソース修正
test
CHANGED
@@ -18,13 +18,17 @@
|
|
18
18
|
|
19
19
|
$('input[type="text"]').on('input change blur', function() {
|
20
20
|
|
21
|
-
va
|
21
|
+
if($(this).val != '') {
|
22
22
|
|
23
|
-
|
23
|
+
var radio_template = '' +
|
24
24
|
|
25
|
-
'<input type="radio" name="radiobtn" id="
|
25
|
+
'<input type="radio" name="radiobtn" id="A" checked/>A' +
|
26
26
|
|
27
|
+
'<input type="radio" name="radiobtn" id="B"/>B';
|
28
|
+
|
27
|
-
$('radioarea').html(radio_template);
|
29
|
+
$('#radioarea').html(radio_template);
|
30
|
+
|
31
|
+
}
|
28
32
|
|
29
33
|
});
|
30
34
|
|