teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

ゴキ修正

2015/12/07 08:05

投稿

k.tada
k.tada

スコア1679

answer CHANGED
@@ -4,10 +4,10 @@
4
4
 
5
5
  ・3番目、4番目のみを指定
6
6
 
7
- `$('.buttonlg::nth-child(n+3):nth-child(-n+4)').hide();`
7
+ `$('.buttonlg:nth-child(n+3):nth-child(-n+4)').hide();`
8
8
 
9
9
  ・3番目以降のみを指定
10
10
 
11
- `$('.buttonlg::nth-child(n+3)').hide();`
11
+ `$('.buttonlg:nth-child(n+3)').hide();`
12
12
 
13
13
  のような感じでどうでしょうか?