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

147
Views
eliminar el corrector ortográfico en la entrada CON JAVASCRIPT

Tengo un programa de JavaScript que realiza la entrada y quiero eliminar el corrector ortográfico.

 let inp = document.createElement('input'); inp.placeholder = "enter line of code"; inp.autocomplete = "off"; //did not work inp.spellcheck = "false";

Intenté usar inp.spellcheck = "false"; y no funcionó, sin embargo, solo funcionó el corrector ortográfico = "falso" en una entrada

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Establezca un atributo en su lugar.

 const inp = document.body.appendChild(document.createElement('input')); inp.placeholder = "enter line of code"; inp.autocomplete = "off"; inp.setAttribute('spellcheck', 'false');

about 4 years ago · Juan Pablo Isaza Report

0

Si trabaja con la propiedad de spellcheck DOM de JavaScript (a diferencia del atributo de spellcheck HTML), debe asignar un valor booleano real, no una cadena .

 const inp = document.body.appendChild(document.createElement('input')); inp.placeholder = "enter line of code"; inp.autocomplete = "off"; inp.spellcheck = false; // not "false" which is a string

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!