The keyCode for a space is 32 - I looked that up, as I thought that
might be the culprit, too.

On the other question, if you mean will it work if there are numbers
in the select box, yes, that seems to work just fine.

On Tue, 02 Nov 2004 14:18:01 -0500, Jerry Johnson
<[EMAIL PROTECTED]> wrote:
> I can't help much, but I can ask a few questions:
> 
> Will the indexOf find 6 in your code? (because a 6; will also match 46; and 36;)?
> What is the keyCode value for a space? 32, like the ASCII value?
> Is it possible something could be performing a trim somewhere?
> 
> Jerry Johnson
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF 
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=35

Message: http://www.houseoffusion.com/lists.cfm/link=i:5:133697
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to