load order
-
Hi Folks,
Is there any way we make the Popup section load in the source code in the order that it was saved?
The reason I ask is because I think that because the section is loaded towards the end of the HTML page, we can’t target an
<a href id="nothankyou">embedded in the popup with the following JS:<script> var url1 = "/ppi-struct-booking/"; var newurl1 = url1 + window.location.search; var linknothankyou = document.getElementById('nothankyou'); linknothankyou.href = newurl1; </script>We receive a console error:
Uncaught TypeError: Cannot set properties of null (setting ‘href’)
The
#nothankyouanchor element is present.Help appreciated.
SteveThe page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘load order’ is closed to new replies.