Newbie Question #3: Modifying Table Data
How do I navigate a table and add data to it? For instance:
var hero = ['Superman', 'Spiderman', 'Wonder Woman'];
var fName = ['Clark', 'Peter', 'Diana'];
var lName = ['Kent', 'Parker', 'Prince'];
to

How do I navigate a table and add data to it? For instance:
var hero = ['Superman', 'Spiderman', 'Wonder Woman'];
var fName = ['Clark', 'Peter', 'Diana'];
var lName = ['Kent', 'Parker', 'Prince'];
to

OK, I will tell you my philosophy of developing scripts. For each task, I almost always work with selections. I want to test each piece of my code on a selection if I can. So here, I am don't want to do two things (create a table, then fill it); I only want to test filling a table. So I insert a table, click in the table and test my code.
After I develop and test all of my individual tasks, then I worry about putting the pieces together. I will typically make a function for each task to facilitate troubleshooting and reuse.
This methodology has helped me develop thousands of commercial scripts and compile hundreds of reusable functions.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.