News for hackers. Stuff that matters.
Re:Htmx: Simplicity in an Age of Complicated Solutions by niutech on Thursday July 18, 2024 @05:49AM (#40994011)
If we talk about simplicity, how can we forget about mighty jQuery?

    $('#searchForm').submit(() => {
        $('#resultsList').empty().load('/search?query=' + encodeURIComponent($('#searchInput').text().trim()));
        return false;
    });
Also, nothing beats the conciseness of 166-byte (!) HTMZ: https://leanrada.com/htmz/

There are no comments on this comment yet.