JSFiddle - React, Tailwind, and code Playground

HTML

<table cellspacing="0" class="group_table">
  <tbody>

    <tr>
      <td>

        <div class="quantity">

          <input type="number" step="1" min="0" id="25" name="quantity[25]" value="0" title="Qta" class="input-text qty text" size="4" />
        </div>

      </td>



      <td class="label">

        <label for="product-25">

          <a target="_blank" href="http://localhost:1234/puntoclimatizzatori/prodotto/pompa-di-calore-ctxs15k-daikin-inverter-u-interna-a-parete-5000-btu/">Pompa di calore CTXS15K Daikin inverter U.INTERNA A PARETE 5000 BTU</a>
        </label>

      </td>

      <td class="price">

        <del><span class="amount">528,26</span>&euro;</del> <ins><span class="amount 25">290,54</span>&euro;</ins>

      </td>

    </tr>

  </tbody>

</table>


Total:

JavaScript

$(document).ready(function() {
    var id = $(".input-text").attr("id");
    $('input#' + id).on('change', function() {
      $(".amount." + id).html(this.value);
    })
})