It's seeing them as strings.  It's giving you an alphabetical greater
than -- 2 is greater than 1, so 2 is greater than 16.



  --Ben Doom
    Programmer & General Lackey
    Moonbow Software

: -----Original Message-----
: From: Tim Do [mailto:TDo@;lahd.lacity.org]
: Sent: Thursday, October 31, 2002 11:57 AM
: To: CF-Talk
: Subject: OT js value validation
:
:
: document.editExemptions.SCEPTempExemptUnits.value >
: document.editExemptions.totalUnits.value
:
: I pass in SCEPTempExemptUnits as 2 and  totalUnits as 16... Why would this
: think that 2 is greater than 16?  It works if I pass in
: SCEPTempExemptUnits
: as 1 or 10..  Any ideas?
:
: Thanks
: 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to