jianneng
08-27-2002, 02:49 PM
Hi,
I have two text boxes, one for typing text, and the other containing the number of characters that is constrained for the typing text. Let say the constraint is 200, so the second text box will initially has the value of 200. As I begin to type something into the first text box, that number, i.e. 200, will begin to reduce in number automatically. For instance, if I had typed "I need help", then the number in the second text box should now display 189.
I know Javascript can do this, but so far I have had problems in trying to access relevant resources for this topic (sorry because I don't really know if my topic is an array topic, a number topic, or something else).
Can someone give me some guidance on this? I would appreciate if you can show me some links to the source code relevant to what I need so that I can study them. Thanks!
I have two text boxes, one for typing text, and the other containing the number of characters that is constrained for the typing text. Let say the constraint is 200, so the second text box will initially has the value of 200. As I begin to type something into the first text box, that number, i.e. 200, will begin to reduce in number automatically. For instance, if I had typed "I need help", then the number in the second text box should now display 189.
I know Javascript can do this, but so far I have had problems in trying to access relevant resources for this topic (sorry because I don't really know if my topic is an array topic, a number topic, or something else).
Can someone give me some guidance on this? I would appreciate if you can show me some links to the source code relevant to what I need so that I can study them. Thanks!