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

213
Views
seleccione un texto del área de texto y presione el botón para ponerlos en negrita

cuando alguien ha seleccionado texto y presiona el botón de negrita, el texto seleccionado estará en negrita y no todos los caracteres del área de texto.

 document.getElementById("bold").onclick = function() { document.getElementById("textarea").style.fontWeight = "800"; }
 <textarea id="textarea"></textarea> <button id="bold">Make bold</button>

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

0

No puede diseñar texto dentro de un área de texto más que en su ejemplo.

Pero puedes probar este intento con div editable: https://stackoverflow.com/a/50287002/4230037

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!