回答編集履歴
1
修正
test
CHANGED
@@ -63,3 +63,39 @@
|
|
63
63
|
</select>
|
64
64
|
|
65
65
|
```
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
# 追記
|
70
|
+
|
71
|
+
一応こうするとちょっとまとまるかもしれません
|
72
|
+
|
73
|
+
```javascript
|
74
|
+
|
75
|
+
$(function(){
|
76
|
+
|
77
|
+
$('select').on('change',function(){
|
78
|
+
|
79
|
+
if($('select').filter(function(){
|
80
|
+
|
81
|
+
return $(this).attr('id').match(/^sheet1-[1-8]$/)
|
82
|
+
|
83
|
+
}).find('option:selected[value=""]').length==0){
|
84
|
+
|
85
|
+
console.log("ok");
|
86
|
+
|
87
|
+
}else{
|
88
|
+
|
89
|
+
console.log("ng");
|
90
|
+
|
91
|
+
}
|
92
|
+
|
93
|
+
});
|
94
|
+
|
95
|
+
});
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
```
|