Thread: Jquery Shoutbox
View Single Post
Old 07-31-2010, 07:26 AM   PM User | #1
slappyjaw
Regular Coder

 
slappyjaw's Avatar
 
Join Date: Mar 2009
Location: Wonderland!
Posts: 146
Thanks: 14
Thanked 3 Times in 3 Posts
slappyjaw has a little shameless behaviour in the past
Question Jquery Shoutbox

Hey guys i need some help with this shoutbox. I thought the whole thing was sound until i found this problem. If you go onto the shoutbox in your browser and you set your username and then change it... its supposed to say
Code:
NAME has logged out
but for some reason if you change your name more than once during that session it prints the welcome message +1. You'd have to see it for your self. Please help me out. the url is http://www.slappyjaw.com/chat. enter your username and then change your username a few times you'll see what i mean. Im stuped so far. its as if the ajax request is being sent +1 one each time you change your username or logout. Thanks in advance.
slappyjaw is offline   Reply With Quote