I have 3 textboxes inside repeated:
TBRate, TBHours, TBPay.
In onChange event for TBHours I put something like:
document.forms[0].TBPay.Value = document.forms[0].TBHours.Value *
document.forms[0].TBRate.Value
This gives me no Javascript error, but doesn't perform any calculations.
Putting this in alert() function tells me that
TBHours and TBRate are undefined. When I look in generated Html, each row
has TBHours and TBRate
I tried using TBHours[0] and TBRate[0] for first row in repeated, but again
got an "undefined" message.
How do I refer to the values in TBHours and TBRate for each row using
JavaScript ?
Thanks !
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]