Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

224
Views
How to make a simple calculation in HTML?

Good evening everyone,

I am trying to make an html email using a CRM that has a total price which i get from {total_price} and a deposit 50% of the total price. As there is no {deposit} in the CRM i am using , i though i would make a simple calculation

<!DOCTYPE html>

<html>
<p id="deposit"></p>
<script>

var x={total_price};
var y=0.5;
var  z=x*y;

document.getElementById("deposit").innerHTML = "Deposit : " + z + "€";
</script>

But my CRM doesn't seem to be able to handle JS, is there any other way to have the same result?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Unfortunately, no way. HTML is a markup language, it has no processor powers, at all. That's why javascript came into the browsers. And modern email clients doesn't support javascript.

Your CRM could have some custom proprietary variables or customization for HTML, that should be processed before sending the email. It's a nice feature to have on a CRM.

There is more here about JavaScript on email.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!