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

145
Views
Cómo almacenar el valor del cuadro de solicitud en el almacenamiento local

Aquí he creado un cuadro de solicitud para aceptar, rechazar y en espera. Necesito guardar los datos que estoy ingresando en el almacenamiento local.

 row_2_data_8.innerHTML = '<button onclick="on Accept(this)" >Accept</button>\n' + '<button onclick="onreject(this)">Reject</button>\t' + '<button onclick="onhold(this)">Onhold</button>'; function onAccept(td) { selectedRow = td.parentElement.parentElement; var a = prompt("Please enter Remark"); var v = { "status": a } }
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Utilizará un objeto LocalStorage. Así que harás así:

 function onAccept(td) { selectedRow = td.parentElement.parentElement; var a = prompt("Please enter Remark"); var v = { "status": a } save( v ); } const save = (v) => { window.localStorage.setItem(v);}
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!