• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to calculate a total sum of all previous totals using JS

Explorer ,
Apr 23, 2021 Apr 23, 2021

Copy link to clipboard

Copied

I'm trying to replicate the calculation method used in the pdf: Time Calculation_BB.pdf, and so far i've managed to transfer the code used to calculate the individual totals for each row. Now i would like to multiply all these individual totals into one field using JS, but i can't figure out how this should be done. 

 

I'm a bit of a novice regarding javascript, so i would really appreciate if someone could point me in the right direction. 🙂

TOPICS
How to , JavaScript

Views

450

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Apr 23, 2021 Apr 23, 2021

In the calculation scripts, change all instances of event.target.value = ... to event.value = ...  .

Votes

Translate

Translate
Community Expert ,
Apr 23, 2021 Apr 23, 2021

Copy link to clipboard

Copied

LATEST

In the calculation scripts, change all instances of event.target.value = ... to event.value = ...  .

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines