Streaming live at 10am (PST)

Javascript behind a button?


#1

Hello,

As a novice to Webflow, I wondered if it’s possible to launch Javascript from a button?

Thanks, Jason


#2

Yes, it’s possible. What are you trying to do?

Could be as simple as

<script>
$('#my-button-id').click(function() {
  alert('button clicked');
});
</script>