I implemented Django ajax comment submission in my app using Nick Carroll’s method here. I’d like the user that posted the comment, date of submission and comment to appear on the page using ajax after the server has received and saved it. What’s a good way to do this?
I implemented Django ajax comment submission in my app using Nick Carroll’s method here
Share
Alright this is kind of a hackerish way to go about this, but I think I’ve figured out a decent solution:
I’m relatively new to javascript so I put this together with what little I know. Feel free to leave some comments if you think this could be cleaned up.