Witam,
potrzebuję przy załadowaniu strony, żeby od razu z automatu wiersz z jednej tabeli został przeniesiony do drugiej tabeli. Podpowiedzcie coś proszę:)
Konkretnie, potrzebuje przenieść poniższy wiersz <tr>
:
<table class="thwepo-extra-options thwepo_variable" cellspacing="0">
<tbody>
<tr class="">
<td class="label leftside">
<label class="label-tag ">Pomiar C</label> <abbr class="required" title="Required">*</abbr>
</td>
<td class="value leftside">
<input type="number" id="pomiar_c" name="pomiar_c" value="0" class="thwepof-input-field validate-required" min="1" step="1">
</td>
</tr>
</tbody>
</table>
do następującej tabeli, najlepiej jako 3 wiersz czyli od razu pod "Szerokość (mm)":
<table id="price_calculator" class="wc-measurement-price-calculator-price-table variable_price_calculator user-defined-mode" style="">
<tbody>
<tr class="price-table-row length-input"><td><label for="length_needed">Wysokość (mm)</label></td><td style="text-align:right;"><input type="number" name="length_needed" id="length_needed" class="amount_needed" value="" data-unit="mm" data-common-unit="m" autocomplete="off" min="300" step="1"></td></tr>
<tr class="price-table-row width-input"><td><label for="width_needed">Szerokość (mm)</label></td><td style="text-align:right;"><input type="number" name="width_needed" id="width_needed" class="amount_needed" value="" data-unit="mm" data-common-unit="m" autocomplete="off" min="300" step="1"></td></tr>
<tr class="price-table-row total-amount"><td>Łączna powierzchnia w m2</td><td><span class="wc-measurement-price-calculator-total-amount" data-unit="sq m">1,000</span></td></tr>
<tr class="price-table-row calculated-price"><td>Cena produktu</td><td><span class="product_price"><span class="amount">140,00 zł</span></span><input type="hidden" id="_measurement_needed" name="_measurement_needed" value="1"><input type="hidden" id="_measurement_needed_unit" name="_measurement_needed_unit" value="sq m"></td></tr>
</tbody>
</table>
Będę bardzo wdzięczny za pomoc