# TT-Chat markdown=yes This code has been incorporated into the ToledoTalk.com (TT) message board at: [http://toledotalk.com/chat](http://toledotalk.com/chat). This barebones app could be used for simple chatting or live-blogging by TT users. A logged-in user sees a text-input field at the top of the page, which is used to post a message. A post is limited to 300 characters with no formatting. It uses client-side JavaScript to post and display messages. The most recent 150 posts are displayed in reverse order, youngest to oldest. JavaScript refreshes the page every 20 seconds. A logged-in user can refresh sooner by hitting the return key or tapping the post button. A user who is not logged-in can refresh sooner by tapping the refresh button. It seems to work fine in the Chrome, Opera, and Firefox browsers and on the iPad. For IEv8, a post does not get submitted when the return key is hit. Until I correct this for IEv8, need to tap the post button to submit a message. Anyway, it's not fully tested in all browsers and devices. ## Testing as * Chrome - works * Firefox - works * Opera - works * It works in Opera Mini on an old flip phone, but the JavaScript code for the interval/auto refresh does not work. Have to click the post button to refresh page. * IE v8 - works when posting by tapping the post button, but nothing is posted when hitting the return key. * HP tablet with WebOS - works fine when tapping the post button, but when hitting the return key on the tablet screen, it double-posts. * iphone ? * Samsung S4 ? It relies on the http://minifiedjs.com framework. It also uses the Error.pm module from Kinglet, and the StrNumUtils.pm module from Junco.