Creating custom calculations using JavaScript (jQuery)
问题 I wish to take the value of an HTML string contained within <bdi> tags - perform a calculation on it - and output the results in a separate <bdi> string, dependent on which input is selected on-page. The source <bdi> value changes dynamically based on user interaction, but I want to know if what I'm asking is feasible and a rough guide on how to achieve it? Screenshot to illustrate the user elements: In the DOM, the source value is nested in the below tag: <li class="grand_total"> <span class