Posts by Devsheet

Read all articles posted by Devsheet programmers and content writers.

HTMX - Show loader when request is in progress

In HTMX, you can use the hx-get or hx-post attribute to make an AJAX request, and the hx-indicator attribute to toggle the visibility of a loader element.

HTMX - Send a Post request on Form Submit

To send a POST request using the HTMX library in Python, you can use the htmx.post() function. It send a POST request to the server with form data.

Loading more...
Search all posts...