- Inscrever-se no RSS Feed
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico do usuário atual
- Favorito
- Inscrever-se
- Página amigável para impressora
Can I trigger inserting the form into the DOM?
06-17-2019 09:13
Background: I'm creating a blog for a client. The blog post has the option to enable a lead capture form below (using a Form tag) and it also automatically loads the next post when you reach the bottom of the page (using an Infinite Scroll plugin).
Problem: because I assume there's no DOM load for the second page (it just pulls in a container and adds it on to the existing document), the forms on the second post onward do not load.
Question: is there a way to trigger loading the forms? Some sort of event listener that I can use to call for the forms to be loaded on the second post onward? Or perhaps someone has an alternative solution.
Thank you!
Stephanie O'Gay Garcia
HubSpot CMS Design & Development
- Marcar como novo
- Favorito
- Inscrever-se
- Inscrever-se no RSS Feed
- Realçar
- Imprimir
- Enviar e-mail a um amigo
- Relatar conteúdo como inapropriado