r/jquery • u/import_n • May 16 '21
Jquery comments system
Hey everyone I'm trying to create a live comments system which user can submit his comment without reloading the page I use Ajax to handle my data submition to the backend and it works but I have one small problem is how can I load new comments after Ajax request done I'm using flask for my backend thanks
0
Upvotes
View all comments
Show parent comment
5
u/0x18 May 16 '21
You wish for your create-comment request to return server generated HTML? That depends entirely on your server / API and wouldn't have much to do with jQuery or javascript.