Answer the question
In order to leave comments, you need to log in
How to change data in multiple cells?
Hello.
Please explain how this table works , I need to do the same.
Namely interests how to implement that having changed value of one cell, the data in other cells exchanged.
If it is important, formulas for calculation will come along with the REST data.
Answer the question
In order to leave comments, you need to log in
document.querySelectorAll('td input').forEach(function(field) {
field.addEventListener('change', function() {
/* Какая-то функция для пересчета данных */
})
})
Namely interests how to implement that having changed value of one cell, the data in other cells exchanged.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question