title: jQuery.text() to get html price and to increase it with number field
body: <p>How can I get the numeric price? Simple products have:</p>
  
  <pre><code>&lt;td class="wh-price"&gt;                           
     &lt;span class="woocommerce-Price-amount amount"&gt;&lt;span class="woocommerce-Price-currencySymbol"&gt;$&lt;/span&gt;425.00&lt;/span&gt;                       
  &lt;/td&gt;
  </code></pre>
  
  <p>Wholesale products have:</p>
  
  <pre><code>    &lt;td class="wh-price"&gt;                           
          &lt;del class="original-computed-price"&gt;&lt;span class="woocommerce-Price-amount amount"&gt;&lt;span class="woocommerce-Price-currencySymbol"&gt;$&lt;/span&gt;625.00&lt;/span&gt;&lt;/del&gt;
  
          &lt;span style="display: block;" class="wholesale_price_container"&gt;
              &lt;span class="wholesale_price_title"&gt;&lt;/span&gt;
              &lt;ins&gt;&lt;span class="woocommerce-Price-amount amount"&gt;&lt;span class="woocommerce-Price-currencySymbol"&gt;$&lt;/span&gt;54,321.00&lt;/span&gt;&lt;/ins&gt;
          &lt;/span&gt;
      &lt;/td&gt;
  </code></pre>
  
  <p><strong>Need the price for simple and wholesale (<code>&lt;ins&gt;</code> price; not the <code>&lt;del&gt;</code> price) products so when the quantity increased I can calculate them.</strong></p>
  
  <p>Quantity HTML:</p>
  
  <pre><code>    &lt;td class="quantity-field"&gt;
          &lt;div class="quantity"&gt;
              &lt;input step="1" min="" max="" name="quantity" value="1" title="Qty" class="input-text qty text" size="4" pattern="[0-9]*" inputmode="numeric" type="number"&gt;
          &lt;/div&gt;
      &lt;/td&gt;
  </code></pre>
  
  <p>I have tried this jquery:</p>
  
  <pre><code>    $(document).ready(function(){
        $(".qty").on('change',function() {
          setPriceQ();
        });
      })
      const setPriceQ = function(){
        $.each(
          $('tr[data-role="product"]'),
          function(index,element){
            const $el = $(element);
            const originalPrice = $el.find('.woocommerce-Price-amount.amount').text();
            const totalQuantity = $el.find(".qty").val();            
            $el.find('#result').html( originalPrice * totalQuantity );
          }
        );
      };
  </code></pre>
  
  <p>But it's not working and most of the time showing <code>$NaN</code>
  So I tried <code>const originalPrice = parseInt($el.find('.woocommerce-Price-amount.amount').text(), 10);</code></p>
  
  <p>Still not working. In my guess <code>.text()</code> is getting <code>&lt;span class="woocommerce-Price-currencySymbol"&gt;$&lt;/span&gt;</code> which is preventing the parsing.</p>
  
  <p>The html code is generated with php <code>&lt;?php echo $product-&gt;get_price_html() ?&gt;</code>; for simple products I can get only numeric value without markup by using <code>&lt;?php echo $product-&gt;get_price() ?&gt;</code> but for wholesale products price it's not possible by simple php.</p>