回答編集履歴
1
前提条件が変わったため追記。
test
CHANGED
@@ -3,3 +3,23 @@
|
|
3
3
|
if x >=10 && x < 15 && $('li.no:first-child').length <1
|
4
4
|
|
5
5
|
```
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
---
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
**追記:**
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
```CoffeeScript
|
20
|
+
|
21
|
+
if x == 10 && $('li.no:first-child').length <1
|
22
|
+
|
23
|
+
else if x == 15 && $('li.no:nth-child(2)').length <1
|
24
|
+
|
25
|
+
```
|