Tell me how to implement such a functional: when I enter a field, for example, 40cm, a number, for example 2, then we assign the value of the bounch field to bounch = bounch + 2 and the following formula is considered in the stems field stems stems = bounch * txb
<div class="data-list"> <table> <thead> <tr> <th>Разновидность</th> <th>TXB</th> <th>40СМ</th> <th>50СМ</th> <th>60СМ</th> <th>70СМ</th> <th>80СМ</th> <th>90СМ</th> <th>ПУЧОК</th> <th>СТЕБЕЛЬ</th> </tr> </thead> <tbody> <tr class="data-row"> <td><span></span> <input type="text" name="razn"></td> <td><span></span> <input type="text" name="txb" value="25"></td> <td><span></span> <input type="text" name="40cm"></td> <td><span></span> <input type="text" name="50cm"></td> <td><span></span> <input type="text" name="60cm"></td> <td><span></span> <input type="text" name="70cm"></td> <td><span></span> <input type="text" name="80cm"></td> <td><span></span> <input type="text" name="90cm"></td> <td><span></span> <input type="text" name="bounch"></td> <td><span></span> <input type="text" name="stems"></td> </tr> </tbody> </table> </div>
40см? - Raz Galstyanbounch? - Raz Galstyan40wrote 2 and then in the same field they wrote 25, then what will happen? 2+ 25? - Raz Galstyan