F'in sweet
webflow hacks
webflow hacks
#
12

Run a function on button click with javascript and jquery

Example use cases

  • Run any function after a user clicks a button
  • Integrate a third party tool or script that doesn't have a specific instructions for implementing with a button

Tags

Javascript

Video walkthrough

Email yourself this video, so you could watch it later

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Live example

Code breakdown

Inside <head> tag</head>
Before tag
F'in sweet
webflow hacks
Clonable Project
All of our hacks are packed into one clonable Webflow project
This is Hack
#
12
in the project
Clone project on webflow
Let's CHAT
Subscribe to our youtube channel
Subscribe
Stay updated with
F'in sweet
webflow hacks
Subscribe to email updates