質問編集履歴

1

修正

2020/11/04 02:07

投稿

MH00214
MH00214

スコア53

test CHANGED
File without changes
test CHANGED
@@ -8,11 +8,11 @@
8
8
 
9
9
  $(function () {
10
10
 
11
- $(".news-category-select-box").change(function() {
11
+ $(".class_name").change(function() {
12
12
 
13
- const selectedBoxValue = $(this).val();
13
+ const value = $(this).val();
14
14
 
15
- if (!selectedBoxValue) {
15
+ if (!value) {
16
16
 
17
17
  window.location.href = "/articles";
18
18