🦴x-fetch
Last updated
The x-fetch attribute allows users to trigger an action when the page is loaded, a button is clicked, or a form is submitted.
Webflow does not natively support <button> elements
<a x-fetch="my_action" href="#" class="w-button">Trigger</a><body>
When the page is loaded
<button> or <a>
When the element is clicked
<form>
When the form is submitted
Last updated