try changing chatbox textbox to a textarea