Movatterモバイル変換


[0]ホーム

URL:


</> htmx

hx-post

Thehx-post attribute will cause an element to issue aPOST to the specified URL and swapthe HTML into the DOM using a swap strategy:

<buttonhx-post="/account/enable"hx-target="body">  Enable Your Account</button>

This example will cause thebutton to issue aPOST to/account/enable and swap the returned HTML intotheinnerHTML of thebody.

Notes


[8]ページ先頭

©2009-2025 Movatter.jp