Hi Guys.
I have the following function for calendly. I’m not too good at JS. I have my button with an ID of btnBook, and I am trying to add an on click event:
I have the following js code
$(document).ready(function() {
$(’#btnBook’).click(Calendly.initPopupWidget({url: ‘https://calendly.com/test’}));
});
This doesn’t appear to work (I have the scripts loading in the header)
Any ideas?