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

124
Visualizações
Anchor tag with POST is not working on first page load but on second refresh

I have integrated chargebee's self-checkout portal on my website dictozo.com which is essentially just <a> tag i.e.

<a href="javascript:void(0)" data-cb-type="checkout" data-cb-item-0="standard-USD-Monthly" data-cb-item-0-quantity="1" class="btn btn-primary">Get It Now</a>
<script src="https://js.chargebee.com/v2/chargebee.js" data-cb-site="aarvy" ></script>

On the website If you scroll to pricing section and try to click on "Get It Now" button it won't work. But if you reload he page and try to click again it will work and displays the pop-up checkout window.

The pricing section is loaded dynamically via AJAX while rest of the sections on page are static. I just don't understand this weird behavior why the click didn't work in first try.

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