Click here to Skip to main content
15,905,967 members

Comments by Ndambakuwa Mabarira (Top 5 by date)

Ndambakuwa Mabarira 15-Aug-23 1:03am View    
i am sorry i am lost on using the event object`s target property.
if you can explain further i would really appreciate that
Ndambakuwa Mabarira 14-Aug-23 17:25pm View    
thanx i didnt know how it works cz am new on this platform.i accepted the solution for this question.
You can help me on that new question that i posted if you can.i am still new with javascript and the answer that i saw on my new post is not clear to me.
Ndambakuwa Mabarira 14-Aug-23 5:06am View    
the code that i have sent has got twotables.the first table is the one on top with its caculating button.the one below is the second table which is a duplicate.the table on top is calculating the average and also shows an alert when the results are out of the limits.that is perfect. i added another table below(a duplicate) with the same structure with that first one.that second table is just a duplicate.
Now my problem is that i want that second table to act the same way with the first one if i edit into its input fields.to be more specific i want it to calculate the average and also the limit just like the first table.
NOTE:i just added a duplicate table but javascript is working properly with the first table but with the second table its not calculating the average but its showing an alert
i am willing to explain further if its not clear again
Ndambakuwa Mabarira 13-Aug-23 16:58pm View    
One more thing please.
i want to duplicate the table multiple times and i want the same code to run the same way its doin on this table.for example if i add more inputs and a button to calculate,it should respond the same way as on that first table.i tried it but i failed.am still learning javascript.
Ndambakuwa Mabarira 11-Aug-23 9:51am View    
you are a star.you answered it all on using a button element.thanx a lot