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

95
Visualizações
Making changes that stay after moving around the page JQUERY

So, I have a question about Jquery and I cant find the answer. I have to work with an already setup page, and the only thing that I can use is JS. So, I want to change for example a text or append some div in the page. I can do it, but after moving around the page, the change that i made is gone. How this works in Jquery?

Example

$('#account a[href="customer-orders.html"] span').html('<svg class="svg-icon svg-icon-heavy mr-2"><use xlink:href="#paper-bag-1"></use></svg> My Orders')

The html change but just once, if i go to the next page and the came back is gone.

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