Is there a way to refresh a page when the dom has fully loaded? I am running into an issue that a page loads before memberstack has fully loaded and that forms don’t prepopulate unless you manually refresh the page
Is there a way to refresh a page when the dom has fully loaded? I am running into an issue that a page loads before memberstack has fully loaded and that forms don’t prepopulate unless you manually refresh the page
1 comment
You'll need to wrap your code in a DOMContentLoaded event listener. That way the Memberstack code (and any other code you have) doesn't run until the DOM is ready.
Please sign in to leave a comment.