I have a script that pulls in a form and I want to perform a click action once that button has been clicked, however because I'm including the form via a script, I can't seem to get the jQuery on my server to interact with it - perhaps because that's the way jQuery works, but is there any way, or a work around, where I can get a click event to work on a form element that has been included via a script?
The JS
<script charset="utf-8" src="//js.hsforms.net/forms/current.js"></script>
My JS
$(".actions input").click(function() {
$(".pop-up").hide();
$(".pop-up-thanks").show();
});