I have a third party javascript code that should not load when the page is loaded.
So when you click on the "Request more info", only at that time it should load.
I tried with show/hide but seems the script still loads when I refresh the page.
My HTML is here
<button onclick="PodiumWebChat.open()">
Open chat
And Javascript is:
<div id="divscript" style="display: none;"><script defer src="https://connect.abc.com/widget.js#API_TOKEN=c0726ce52f4a" id="podium-widget" data-api-token="c0726ce52f4a"></script></div>