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

258
Views
Cómo ocultar y mostrar un texto por campo oculto en JQuery

hola quiero ocultar y mostrar un texto bacalao gastos de envio

 `<div class="row"> <div class="cell" id="well">Cod Shipping charge</div> <div class="cell free"><?php echo $priceCurrency->getCurrency()->getCurrencySymbol();?> <span class="text-shipping-charge"><?php echo number_format($shippingrate,2,'.',''); ?></span></div> </div>`

al hacer clic en el código de pago a continuación

 <div class="payment-option"> <div class="head" >Part Payment (COD + Online)</div> <div class="content"> <div class="cod-block"> <div class="cash-option"> <div class="pay-option"> <div class="option-info">20% Online (Now)</div> <div class="option-cash">₹ 12,650</div> </div> <div class="pay-option"> <div class="option-info">80% Cash On Delivery</div> <div class="option-cash">₹ 50,000</div> </div> </div>

Por favor ayuda

about 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Mencionas JQuery, por lo que usar eso podría ser algo como:

 $('.payment-option').click(function(){ $('.row').show(); });

Aunque clase. la row no suena muy única, por lo que es posible que desee asignar a ese elemento una identificación única como

 <div id="cod_shipping_charge" class="row">

entonces puedes usar:

 $('#cod_shipping_charge').show();
about 4 years ago · Santiago Trujillo Report

0

 $(document).ready(function() { $("#btnNewGroup").click(function() { $("#newGroup").toggle(); }); });
 <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <div> <button id="btnNewGroup">New Group</button> <div id="newGroup" style="display:none">Div Content</div> </div>

about 4 years ago · Santiago Trujillo 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!