hello,
I have a table with 10 rows and 6 columns in each row all with text fields . i have named the text fields from text1 to text60.Actually i need to find the total price of every item in each row,by multiplying the quantity and the unit price for each item in that row.I tried writing a onFocus() function (onFocus() on tht "totalprice" text field for the first row.... a function is called tht performs the multiplication and displays the value in tht textfield ).It works....... but i cannot keep writing a different onFocus function for finding the total price value in each and every row.....the next rows thaat follow.....because the text field names are different...the code becomes redundant... i do not know how to access the name of the text field dynamically....so that i can call only one function to perform the total price calcuation for all rows...
please help.....
thank u