Bleh, so this is whats happening heh:
- Code: Select all
// sets free box
if (r = 4 and c = 3) {
tc.id = "freebox";
tc.innerText = monthnumber + "/" + monthday + "/" + year;
}
is generating an error on line 18
- Code: Select all
var tr = tbl.insertRow();
saying it is expecting a ')' and when I run the script I get an object expected error on line 0.. When I remove the free box setting
js it all works fine. So the question is, is it syntax error or placement?
Edit:
I did some searching and now I am just getting an Object Expected Error. Apparently this is some issue with IE's
js handling.. I am mixing VB and
JS but not together. Well except for
JS outputting a vbscript db result.. Shoot.