I have an set of array
Case =[case1, case2,case3]
Condition = [condition1,condition2,condition3]
Observation = [obs1,obs2,obs3]
How can I display this in a html table with the below format? Case condition and observation are headers which don't change. Basically the number of columns doesn't change only the rows change. How can I do this using javascript?
I am new to javascript and I am having difficulty in iteration.
+----------------------------------
| Case | Condition | Observation|
+---------------------------------+
| case1 | condition1 | obs1 |
+---------------------------------+
| case2 | condition2 | obs2 |
+---------------------------------+
| case3 | condition3 | obs3 |
+---------------------------------+