Try something like:

temp = parseInt(maxlimit, 10) - field.value.length;

countfield.value = temp;

-----Original Message-----
From: Deanna Schneider [mailto:[EMAIL PROTECTED]]
Sent: July 26, 2001 8:36 AM
To: CF-Talk
Subject: Re: javascript driving me crazy


Thanks Larry and Kwang. Neither suggestion worked. Maybe I should clarify
what's "not working." The part that isn't working is the change in the value
of the countfield. So, something's wrong with this part:

else
countfield.value = maxlimit - field.value.length;

Does that ring any bells for anyone?
-d


Deanna Schneider
Interactive Media Developer
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to