i have a little question here…
lets say i have a 3 selectbox like this
<select id='attr1'>
<option value='1000' selected>Hijau</option>
<option value='2000'> Kuning </option>
</select>
<select id='attr2'>
<option value='2000' selected>Merah</option>
<option value='3000'> Biru </option>
</select>
<select id='attr3'>
<option value='4000' selected>Hitam</option>
<option value='5000'> Perak </option>
</select>
my question is.. how to use jquery to sum all of my selectbox value??
because my selectbox is dynamic.. so it can be more than 3 selectbox..
any suggestion??
1 Answer