 obj) {
                        // create <tr> element
                        var tr = document.createElement("tr");
                        // create <td> element for the name
                        var tdname = document.createElement("td");
                        // add the data from the obj
                        tdname.appendChild(document.createTextNode(i));
                        // add it to the table row
                        tr.appendChild(tdname);
                        // Handle the value