Answer the question
In order to leave comments, you need to log in
How to get data from DOM objects and calculate with jquery?
Hello colleagues, please give me advice or point in the right direction, I am making a slightly over-engineered calculator, and at the last stage, when all the data has already been displayed on the page, you need to get data from the elements and calculate them on the page. I have no idea how to get data from elements.
Given:
<p class="var1">300$</p>
<p class="var2">4</p>
<p class="final"></p>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question