回答編集履歴
1
サンプル
test
CHANGED
@@ -3,3 +3,21 @@
|
|
3
3
|
- [jQueryの「not() / :not()」の違いと活用法を極める!](https://www.sejuku.net/blog/37111)
|
4
4
|
|
5
5
|
- [jQuery .not()と:not()の色々な使い方](https://zxcvbnmnbvcxz.com/jquery-not%E3%81%A8not%E3%81%AE%E8%89%B2%E3%80%85%E3%81%AA%E4%BD%BF%E3%81%84%E6%96%B9/index.html)
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
# サンプルコード
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
```js
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
$('a[href^="#"]').not('#test').click(function(){
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
```
|