Dont know whats wrong i get 'Done, but with errors on page'

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
apg1985
Forum Newbie
Posts: 4
Joined: Mon Aug 11, 2008 11:14 am

Dont know whats wrong i get 'Done, but with errors on page'

Post by apg1985 »

Hi Guys,

For some reason i get the 'done but with errors on page' error. I've validated my code in DW but still get the error!

When i click the error icon it comes up with the show details box which says Line:383 / object doesnt support this property or method.

check out to see the error in bottom left in IE

Thanks

p.s this error doesnt display in firefox
Last edited by apg1985 on Tue Aug 12, 2008 3:09 am, edited 1 time in total.
User avatar
kaszu
Forum Regular
Posts: 749
Joined: Wed Jul 19, 2006 7:29 am

Re: Dont know whats wrong i get 'Done, but with errors on page'

Post by kaszu »

Only script with at least 383 lines is "slide/script/slide.js" and there on line 382 and 384 is call to function "this.gostop", but It's nowhere defined in slide.js, and undefined function could cause that error.
Alan01252
Forum Newbie
Posts: 12
Joined: Sun Aug 03, 2008 3:20 pm

Re: Dont know whats wrong i get 'Done, but with errors on page'

Post by Alan01252 »

Possible ie issues:

1. you have no placed the word "var" when defining a variable.

E,g bob = 1 (wrong)
var bob = 1 (correct)

You only need to do this for the first instance.

2. An extra , some where. Firefox will ignore this, IE will throw an error.

3. It's trying to access an object from the DOM which hasn't been loaded yet

That's all I can think of for now, I'm sure there are more ;)
Post Reply