Thread: Doh!
View Single Post
  #6 (permalink)  
Old Aug 24th, 2006, 15:16
moojoo's Avatar
moojoo moojoo is offline
Moderator
Join Date: Aug 2005
Location: Texas
Posts: 2,021
Blog Entries: 1
Thanks: 0
Thanked 33 Times in 33 Posts
Re: Doh!

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.
__________________
I hate IE 6. Just sayin....

Last edited by moojoo; Aug 24th, 2006 at 16:09.
Reply With Quote