codefox
12-11-2002, 05:02 AM
I have a function called calculateCategoryAvg(sCat) with sCat as a parameter. Later in the function I would like to concatenate the value in sCat with txtAvg which is a text box in a form. For example, if sCat has the value "Q", then
frmCustFeedback.txtAvgQ.value = "Poor";
If if sCat has the value "C", then
frmCustFeedback.txtAvgC.value = "Poor";
How could I concatenate the value of sCat with txtAvg.
Thanks.
frmCustFeedback.txtAvgQ.value = "Poor";
If if sCat has the value "C", then
frmCustFeedback.txtAvgC.value = "Poor";
How could I concatenate the value of sCat with txtAvg.
Thanks.