Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It can, using OOB. E.g. returning this as a response:

    <div id="foo" hx-swap-oob="true">yes</div>
    <div id="bar" hx-swap-oob="true">possibly</div>
will make HTMX update both the #foo div and the #bar div already on the page.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: