Refresh Jinja HTML Without Reloading the Page | Flask Tutorial

Refresh Jinja HTML Without Reloading the Page | Flask Tutorial

Pingcode

1 год назад

10,535 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@ignaciosambrailo8844
@ignaciosambrailo8844 - 10.09.2023 17:11

You don't know how much you've helped me with this one! I've been struggling for days with jquery and ajax... I've applied this in my app so when someones add a product to a shopping cart it doesn't refresh the page but hits the endpoint :) tytyty

Ответить
@pietraderdetective8953
@pietraderdetective8953 - 03.09.2023 06:08

How come you only got 2 digit subs?? The clarity of your teaching method, the structure, the presentation..all are awesome.

You deserve a lot more subs Sir!!

Great content!
Are you planning to create more Flask videos? I'm rooting for them

Ответить
@kotvkvante22
@kotvkvante22 - 25.05.2023 18:23

cool

Ответить
@sftdfagiyf
@sftdfagiyf - 13.05.2023 20:53

THK YOUUUUUU, you save my life!

Ответить
@asalor
@asalor - 14.03.2023 22:28

Thanks for this, but what if we would like to do something similar without exposing an endpoint for this reason? I would like, for example, to re-evaluate a python function based on some user input, and then replace an innerHTML part of the page with the python function's output.

Ответить
@CarlosMorales-re9tr
@CarlosMorales-re9tr - 06.02.2023 16:18

very usefull tutorial. i´m trying to apply it in a upload function but i get an error trying to send one or more files with ajax to the backend and those file have to be listed in a table in the same page, i need to do all these things without refreshing the page.. Thank you in advance

Ответить
@alunp9211
@alunp9211 - 05.12.2022 03:37

how to solve this problem? On the web I have an onclick button for another video but when I refresh it goes back to how it was. is there a way to not go back to how it was?

Ответить
@kerodfresenbetgebremedhin1881
@kerodfresenbetgebremedhin1881 - 27.11.2022 19:53

This was a sign for people to go for the headless approach and just use an interchange format for dynamic data. Doesn't matter what frontend solution u use.

Ответить
@markobosnjak9961
@markobosnjak9961 - 23.11.2022 04:24

Great content, I have jquery datatable which i want to rerender every x seconds. Is it possible to fetch html from same endpoint(not create new one) and update table element with new data?

Ответить