View Full Version : sms character and page counter

01-24-2012, 12:36 PM
I'm trying to create an sms form. but I want the users to be able to monitor the characters and sms number as they type...taking 160 characters to be 1 page.
pls I'll need help with coding this form to display characters left in 'ch_count' box and number of pages in the 'pages' box while typing in the 'message' textarea....hope it's clear enough...thanks

<textarea name="message" cols="" rows="" id="message"></textarea>
<input name="ch_count" type="text" id="ch_count" size="8" />
characters left
<input name="pages" type="text" id="pages" size="8" />