0

I would like to change prices by the selected options. Actually I use this jQuery-Code.

item.find('select').on('change', function () {
  price_updater($(this));
});

The select dropdown looks like

<select name="products_qty" size="1" class="SumoUnder" tabindex="-1">
  <option value="100">100</option>
  <option value="250">250</option>
  <option value="500">500</option>
  <option value="1000">1000</option>
</select>

The jQuery Code only works when I change the dropdown field. How do I get the first value?

Rory McCrossan
  • 331,213
  • 40
  • 305
  • 339
Ronny Linsener
  • 253
  • 3
  • 16

0 Answers0