Is there a way to permanently add the elements added using jquery?

I have Why my insertBefore() only adding 1 element? this function and I am using flask and flask-sqlalchemy as my backend. Is there some way how can I permanently add the elements added in jquery?


There is a way to do that: Specifically by sending an AJAX req to some route that you’ve created, with some data ( WHATEVER DYNAMIC DATA YOU MADE FOR YOUR JQUERY ELEMENT ).
Then, in that route handler, do some logic to keep that data with you. Next time you load the browser, it will show up

Leave a Reply

Your email address will not be published. Required fields are marked *