Could you do something like this:

<option value="#PartName#_#price#">#PartName#</option>

and then use list functions to parse out the two components, using 
the underscore delimiter...

Gene Kraybill
LPW & Associates

On 6 Jun 2001, at 10:16, Michel Gagnon wrote:

> I have a little challenging question for you.
> I have a "build your own computer system" 
> page where customers can choose what parts 
> they want in their system.  There is a javascript
> that calculates everything on the fly.
> This javascript needs to have the price
> as the value:
> 
> <option value="#price#">#PartName#</option>
> 
> But, I also need to pass the partID to the server, not the price.
> Is there a way that we could have the best of both world?
> The calculating javascript and the PartID's to send to the server?
> 
> 
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to