function updateCC(rowNum) {
if (rowNum == 4) {
document.prices.cc4.value = document.prices.cost4.value * 1.2;
} else {
document.prices.cc1.value = document.prices.cost1.value * 1.2;
}
}
On Nov 7, 2007 9:02 AM, James Smith <[EMAIL PROTECTED]> wrote:
> Quick question I am sure someone will answer in no time...
>
> How do I modify the function...
>
> function updateCC(rowNum) {
> document.prices.cc1.value = document.prices.cost1.value * 1.2;
> }
>
> So that if 'rowNum' is 4 then 'cc1' becomes 'cc4' and 'cost1' becomes
> 'cost4'.
>
> --
> Jay
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.15.23/1114 - Release Date: 06/11/2007
> 20:05
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8
Archive:
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:245989
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5