Comment on page
🦴
x-fetch
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>
Tag | Description |
---|---|
<body> | When the page is loaded |
<button> or <a> | When the element is clicked |
<form> | When the form is submitted |
Last modified 8mo ago