Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

355
Visualizações
Highlight text in HTML using javascript (or jquery) without modifying page text

I am familiar with a bunch of libraries that can highlight text in a page using HTML. For example by inserting a span that has a class to a particular word that needs to be highlighted. What I want to do is to highlight text without modifying the HTML part of the text where the word is.

I thought that it can be done until I was checking Grammarly on Medium and I saw that words were highlighted but when inspected the code, the text did not had anything particular that would highlight the word. I took a screenshot that shows what I am talking about. The textarea is unmodified but words are clearly highlighted.

What I am asking is, is there a library in jquery or javascript that does this?

enter image description here

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda