starkcoffee / randomchatroom

random comments. random context. randomness = madness!
http://the.randomchatroom.net
MIT License
4 stars 2 forks source link

submission of form is laggy #13

Open starkcoffee opened 13 years ago

starkcoffee commented 13 years ago

since index.html has a blank div for the messages.. and then there is an ajax call to fetch the message html.. there is a bit of lag time for the page to populate with messages after you submit a comment. one way to solve this is to make the post ajax as well.

starkcoffee commented 13 years ago

when u do this, be mindful of the submitted variable