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

125
Views
Onclick Ctrl+Shift+L ¿Cómo mostrar en Consola?

estoy usando reaccionar js y quiero que cuando presiono Ctrl + Shift + L imprima un mensaje en el registro de la consola ahora mismo si presiono ctrl + shift el mensaje se imprime pero cuando ctrl + shift + L no imprime nada

Código:-

 const handleKeyDown = (event, ID) => { if (event.key === "Delete") { //alert(name); axios.post(`http://localhost:9763/api/setCue?Idx=${ID}`, { method: 'post', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json', 'Access-control-allow-origin': '*' }, auth: { username: 'admin', password: 'password' } }).then(response => { console.log("Delete.Key", response); }).catch(error => { console.log("Error In Post Data", error); }); console.log("Delete Key Press", ID); } if ((event.ctrlKey && event.key === "Shift") && (event.key === "Z" )) { console.log("hello"); } //up and Down key const active = document.activeElement; active.addEventListener('keydown', function (event) { switch (event.key) { case "ArrowUp": active?.previousElementSibling?.focus(); event.preventDefault(); break; case "ArrowDown": active?.nextElementSibling?.focus(); event.preventDefault(); break; default: break; } }); }

Y también cuando presiono el botón Eliminar, el estado pasa a pendiente ingrese la descripción de la imagen aquí ¿Por qué cuando presiono eliminar, pasa al estado pendiente?

Ayuda por favor..

about 4 years ago · Juan Pablo Isaza
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!