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

230
Views
Ocultar cálculos en HTML

soy bastante nuevo en la codificación y otras cosas... así que tengo un sitio web donde tiene una calculadora de hipotecas, y tengo problemas para ocultar los cálculos (no quiero que los cálculos sean visibles)

Intenté usar <!--- y ---> pero no funcionó,

¿Alguien tiene sugerencias?

 <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

¿Puedes intentar agregar la propiedad de estilo display="none" ?
Por ejemplo, en una etiqueta <div> :

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

Si puede, intente usar una hoja de estilo en cascada en lugar de agregar atributos de estilo en las etiquetas html:
consulte, por ejemplo, la parte 'CSS externo' de https://www.w3schools.com/html/html_css.asp .
Y aquí hay información adicional sobre la propiedad de display CSS: 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!