javascript - Python Flask send alert without reloading the whole page -



javascript - Python Flask send alert without reloading the whole page -

this question has reply here:

how ajax work python? [closed] 1 reply

i started flask , web servers , webpages in general. there way pop alert message on web page through server without reloading page. current ways know of are:

1) reloading whole page , calling alert() function in javascript 2) using flask's flash() function send text place holders in page.

both of above require reloading whole page. guessing if there method in homecoming phone call instead of homecoming render_template(...).

any help appreciated. give thanks you.

edit [not duplicate]: question not asking how utilize ajax flask. @ time of question wasn't aware of using flask this.

what want send ajax request server , have flask code homecoming response javascript can manipulate , modify page.

here resource ajax

javascript python flask messages

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -