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

231
Views
Hiding calculations in HTML

i'm pretty new to coding and stuffs.. so i have website where it has a mortgage calculator, and i have trouble with hiding the calculations (I don't want the calculations to be visible)

I've tried using <!--- and ---> but it didn't work out,

Do anyone have suggestions?

<table class="table" style="line-height:1.5">
  <tbody>
    <tr>
      <td rowspan="3" valign="top" style="font-family:Avenir;">Harga Rumah</td>

    </tr>
    <tr>
      <td style="font-family:Avenir;"> = Rp <span id="hasil_harga_rumah">0</span> - Rp <span id="hasil_uang_muka">0</span></td>
    </tr>
    <tr>
      <td style="font-family:Avenir;"> = Rp <strong><span id="pinjaman">0</span></strong></td>
    </tr>
    <tr>
      <td rowspan="3" valign="top" style="font-family:Avenir;">Total Kredit</td>

    </tr>
    <tr>
      <td style="font-family:Avenir;"> = Rp <span class="hasil_pinjaman">0</span> + (Rp <span class="hasil_pinjaman">0</span> * <span id="hasil_margin">0</span>% * <span class="hasil_tenor">0</span> tahun)</td>
    </tr>
    <tr>
      <td style="font-family:Avenir;"> = Rp <strong><span id="total_pinjaman">0</span></strong></td>
    </tr>
    <tr>
      <td rowspan="3" valign="top" style="font-family:Avenir;">Cicilan / bulan </td>

    </tr>
    <tr>
      <td style="font-family:Avenir;"> = Rp <span id="hasil_total_pinjaman">0</span> / <span class="hasil_tenor">0</span> / 12 </td>
    </tr>
    <tr>
      <td style="font-family:Avenir;"> = Rp <strong><span id="cicilan_bulanan">0</span></strong></td>
    </tr>
    <tr>
      <td rowspan="2" valign="top" style="font-family:Avenir;">Persentase Cicilan</td>

    </tr>
    <tr>
      <td style="font-family:Avenir;"> = <strong><span id="persentase_cicilan">0</span> %</strong></td>
    </tr>
    <tr>
      <td colspan="2" style="font-family:Avenir;"></td>
    </tr>
  </tbody>
</table>

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

0

Can you try adding the display="none" style property?
For example on a <div> tag:

<div style="display: none">
... calculator stuff...
</div>

If you can you should try using a Cascading Stylesheet instead of adding style attributes on html tags:
see for example the 'External CSS' part of https://www.w3schools.com/html/html_css.asp .
And here is some additional info on the CSS display property: https://www.w3schools.com/css/css_display_visibility.asp

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!