anchor.diff:          function showData(id) {
               var tr = document.getElementById("row:" + id);
               var nodes = tr.childNodes;
  -            var length = nodes.length;
  -            var i = length;
               var data = [];
  -            while (--i !== -1) {
  -                var node = nodes[length - (i + 1)];
  -                if (node.nodeType === 1) {
  -                    if (node.innerText !== 'show data') {
  -                        data.push(node.innerText);
  -                    }
  +            for (var i = 0; i < nodes.length; i++) {
  +                var node = nodes[i];
  +                if (node.nodeType === 1 && node.innerText !== 'show data') {
  +                    data.push(node.innerText);
                   }
               }
   
  
positive.code:                                 "HR"
                          );
  
                          if ("name".equals(searchBy)) {
                              statement = connection.prepareStatement("SELECT * FROM Employees WHERE LOWER(first_name) LIKE ? OR LOWER(last_name) LIKE ?");
                              statement.setString(1, query);
                              statement.setString(2, query);
                          } else if ("email".equals(searchBy)) {
                              statement = connection.prepareStatement("SELECT * FROM Employees WHERE LOWER(email) LIKE ?");
                              statement.setString(1, query);
                          } else if ("phone".equals(searchBy)) {
                              statement = connection.prepareStatement("SELECT * FROM Employees WHERE LOWER(phone_number) LIKE ?");
                              statement.setString(1, query);
                          } else if ("salary".equals(searchBy)) {
                              statement = connection.prepareStatement("SELECT * FROM Employees WHERE LOWER(salary) LIKE ?");
                              statement.setString(1, query);
                          } else {
                              statement = connection.prepareStatement("SELECT * FROM Employees");
                          }
  
negative.code:                         while (resultSet.next()) {
                  %>
                  <tr <%= "id=\"row:" + resultSet.getInt("employee_id") + "\""%>>
                      <td><%= counter++%></td>
                      <td><%= resultSet.getInt("employee_id")%></td>
                      <td><%= resultSet.getString("first_name")%></td>
                      <td><%= resultSet.getString("last_name")%></td>
  