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

106
Views
cómo volver a agregar "agregar al carrito" como 'reordenar' (función javascipt ajax)

Este botón 'REORDENAR' está funcionando ahora,

 > html <div class="button"><a class="skinbtn point2 btn_review_write reorder-btn-nw" href="javascript:go_reOrder({.orderNo})"><em>REORDER</em></a></div> > javasciprt function go_reOrder(orderNo){ $.ajax({ method: "GET", cache: false, url: "../order/cart_ps.php", data: "mode=reOrder&orderNo="+orderNo, success: function (data) { if(data.error == 0){ //$("#devCartSno").val(data.cartSno); //$("#reOrder").submit(); top.location.href = "/order/order.php"; } return false; }, error: function (data) { alert(data.message); } }); }

y hago el botón 'ADDTOCART' como este.

 <div class="button"><a class="skinbtn point2 btn_review_write reorder-btn-nw" href="javascript:go_addtocart({.orderNo})"><em>ADDTOCART</em></a></div>

¿Cuál es el JavaScript correspondiente a esto?

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