All,

Is it possible, without formally defining a JavaScript method, to use
"OnChange" in a Select List Box from within a CFFORM to change a numeric
value based on the item selected from the list box?  For example,

<CFSET Total = 0>
<SELECT NAME="#XiVal#"
onChange="document.CFForm_Name.Total=+this.options[this.selectedIndex].value
">
 <CFLOOP Index="Rng_Of_Vals" From="#Select_MinVal#" To="#Select_MaxVal#">
  <OPTION>#Rng_Of_Vals#
</CFLOOP>
</SELECT>
<Input Name="A_TOT"
        Type = "hidden"
        Value="#Total#">
</Input>

If not, can this be done using a JavaScript method?  Examples would be
welcomed.  Thanks in advance.

Israel Rose
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to