• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 52
  • Last Modified:

Table append

Hello,

I'm trying to add rows to my table using .append() but it's not working.  What am I doing wrong?

https://jsfiddle.net/isogunro/0jeh30tn/
0
Isaac
Asked:
Isaac
  • 2
2 Solutions
 
Brian TaoSenior Business Solutions ConsultantCommented:
You posted another question Alert Not Firing.  You may want to check my answer before this.
0
 
Julian HansenCommented:
Take a look at the console
TypeError: ary[x] is undefined
tbl += "<tr><td>"+ary[x][i]+"</td><td>"+ary[x][1]+"</td></tr>";

Open in new window

Then look at Brian's answer in your other question.
0
 
IsaacSharePoint Client Side DeveloperAuthor Commented:
0
 
IsaacSharePoint Client Side DeveloperAuthor Commented:
It's going to lead to another question I need help with that involves creating an algorithim
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now