Javascript error in IE8 only

Hi could someone have a look at the following URL for me.

I get a JavaScript error in IE8, however Firefox and Chrome all seem fine. what is the issue in IE?

Thanks

http://ksistem.com/jquery/sqlbuilderdemo.htm
LVL 12
pigmentartsAsked:
Who is Participating?
 
Michel PlungjanConnect With a Mentor IT ExpertCommented:
       if(opts.fields.length > 0) {
            for (var i=0;i<opts.fields.length;i++){
if (opts.fields[i] && opts.fields[i].ftype) {
                if(opts.fields[i].ftype=='{')
                  mmenu=mmenu+'<li><a href="#'+i+'">'+opts.fields[i].name+'</a><ul>';
                else if(opts.fields[i].ftype=='}')
                  mmenu=mmenu+'</ul></li>';
                else mmenu=mmenu+'<li><a href="#'+i+'">'+opts.fields[i].name+'</a></li>';
}else alert('no ftype found for '+i)
            }
        }


0
 
Shinesh PremrajanTechnical ManagerCommented:
Replace the jquery.sqlbuilder-0.06.js with this one.

Hope this helps...
jquery.sqlbuilder-0.06.js
0
 
pigmentartsAuthor Commented:
got a bit more in this time new error with that file

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; MS-RTC LM 8; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; AskTB5.5)
Timestamp: Thu, 1 Apr 2010 13:50:48 UTC


Message: 'opts.fields[...].ftype' is null or not an object
Line: 178
Char: 14
Code: 0
URI: http://www.nmba.info/stage/js/jquerysqlbuilder-0.06.js

0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
pigmentartsAuthor Commented:
I am just getting lots of alert boxes more more errors in i.e.  whats is the issues as it all seems to be the same error "Expected identifier, string or number"

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; MS-RTC LM 8; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; AskTB5.5)
Timestamp: Thu, 1 Apr 2010 14:28:04 UTC


Message: Expected identifier, string or number
Line: 106
Char: 13
Code: 0


Message: Expected identifier, string or number
Line: 106
Char: 13
Code: 0

0
 
Michel PlungjanIT ExpertCommented:
So did you find the issue or did you accept my comment by mistake?
My comment was only to start you debugging
0
 
pigmentartsAuthor Commented:
well the file you sent got me passed my first issues. so thanks. I have opened up another question as i could do with knowing why this is happing in ie 8 and how to fix myself.  firebox is fine

http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_25644533.html
0
 
pigmentartsAuthor Commented:
firebug even lol
0
All Courses

From novice to tech pro — start learning today.