質問編集履歴
1
具体的に修正したい点を追記いたしました
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
カウントアップ
|
1
|
+
金額をカウントアップするselect optionをもう1つ追加しても合計金額と内訳がずれないようにしたい
|
body
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
カウントアップでselect optionをもう1つ追加しても合計金額と内訳がずれないようにしたいです。
|
2
2
|
|
3
|
+
※わからないというお声をいただいたので補足です。
|
4
|
+
optionsSetクラス内にある、数量<select class="num num1">をもう1つ同じく設置したいです。
|
5
|
+
以下でも設置自体はできているのですが、<p class="options1">のタイプチェックボックスを選択してから、select optionの選択していない内容を変更すると総額などの値がおかしくなります。
|
3
6
|
|
4
7
|
以下が基のソースです。
|
5
8
|
```全文
|
@@ -28,7 +31,7 @@
|
|
28
31
|
<dl class="price cf"><dt>総額</dt><dd><span class="total total1">1,000</span>円</dd></dl>
|
29
32
|
</div>
|
30
33
|
</section>
|
31
|
-
<script type="text/javascript" src="
|
34
|
+
<script type="text/javascript" src="jquery-1.9.1.min.js"></script>
|
32
35
|
<script type="text/javascript">
|
33
36
|
$(function(){
|
34
37
|
|