-
Loading Array from file
I want to create a file for loading an Array that will be used to create a table. How do you tell Javascript to read the file and assign the elements to the array ?
JS File : Date, Event, Location, Contact, Series;
......
-
-
I wouldn't know how to do this using javascript - unless you used ajax or activex. PHP would be a better way to do this.
-
-
Problem solved
I have answered my own question. In case anyone is interested.... you create a function to create the table. The .js file is created with the data calling the function.
function createtable(date,event,location,contact,series)
"races.js" file
createtable("March 7","Points Race","Elon,NC"," ","PMYC");
etc.
Example at:
http://home.mindspring.com/~pmyc100/schedule.htm
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks