They send it to the server with ajax (to save it in db), and append it manually, like that https://api.jquery.com/append/
How does facebook make your comment appear right after you typed it
Question
Im tryng to build out the same type of functionality where users can comment another another users post out how would i get it to appear right away, Is it an ajax call?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow