Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying text.Length 1

Status
Not open for further replies.

stalker81

Programmer
Feb 3, 2005
32
HU
Hi!

I'm stucked with a problem. I've got an input textbox, wich has character number limitation (120). Now, my problem is that i'd like to display the remaining characters in a separate textfield, while the user writes the message. I've tried some things, but did not manage. Help me out here please!

Thx
 
inputbox.onChanged = function(){
outputbox.text = "You have " + Number(120-inputbox.length) + " Chars left";
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top