how to load a div section html

Hello
is that any tutorial how to load a template html into another html file in div section
without refresh all the main page ? please

You need to use something that is built on AJAX. Whether it’s using JavaScript directly, jQuery, or HTMX - it’s up to you.
(Note: I’ve become a big fan of HTMX)

In any of these cases, you’ll be writing a view that will return that html fragment.

But it’s not possible to do this directly in Django without assistance from the browser.

Hello
Thank you very much
I’m wondering what do you mean without assitance from the browser ?
thnk you

It requires JavaScript to do this. You can’t do it from the server.

thank you very for you answers