# Javascript problem

**URL:** https://boards.straightdope.com/t/javascript-problem/186490
**Category:** Factual Questions
**Created:** [July 6, 2003, 2:32am UTC](https://boards.straightdope.com/t/javascript-problem/186490 "2003-07-06T02:32:39Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![benson](https://avatars.discourse-cdn.com/v4/letter/b/ea5d25/32.png) [@benson](https://boards.straightdope.com/u/benson)
#### Post date: [July 6, 2003, 2:32am UTC](https://boards.straightdope.com/t/javascript-problem/186490/1 "2003-07-06T02:32:39Z")

</div>

I’m having trouble with my computer. Sometimes when I go to a site that has javascript, I get a little yellow triangle with an exclamation mark in the corner of the window, with either the message “Done but with errors” or “Error on page”. Sometimes the usually normal website has a bunch of gibberish at the top of the screen. Forms are often screwed up (usually can’t pull anything down). A bunch of little problems like this.

I can’t figure out what the heck is going on and it’s driving me crazy! Sometimes I can get it to work by deleting my cookies (which I hate having to do) but then it stops working again a very short while later. I’ve tried a few other things but I cannot for the life of me get that blasted triangle to leave me alone for good.

Any tips/explanation/help would be very much appreciated.

---

<div class="post-metadata">

### Author: ![Q.E.D](https://avatars.discourse-cdn.com/v4/letter/q/51bf81/32.png) [@Q.E.D](https://boards.straightdope.com/u/Q.E.D)
#### Post date: [July 6, 2003, 2:36am UTC](https://boards.straightdope.com/t/javascript-problem/186490/2 "2003-07-06T02:36:38Z")

</div>

Please tell us what OS and browser you are using, and versions. If you can provide more information about the errors you are getting, it might be helpful as well. You can double-click that yellow (!) icon and it will open a dialog with some additional information.

---

<div class="post-metadata">

### Author: ![benson](https://avatars.discourse-cdn.com/v4/letter/b/ea5d25/32.png) [@benson](https://boards.straightdope.com/u/benson)
#### Post date: [July 6, 2003, 2:42am UTC](https://boards.straightdope.com/t/javascript-problem/186490/3 "2003-07-06T02:42:21Z")

</div>

Sorry, I meant to include all that but I submitted too soon. Windows XP, IE 6.

Typical error message is something like this (from www.westjet.ca website):  
Line: 898  
Char: 3  
Code: 0  
Error: Object expected  
URL: [http://c0dsp.westjet.com/internet/sky/](http://c0dsp.westjet.com/internet/sky/)

---

<div class="post-metadata">

### Author: ![Hauky](https://avatars.discourse-cdn.com/v4/letter/h/0ea827/32.png) [@Hauky](https://boards.straightdope.com/u/Hauky)
#### Post date: [July 6, 2003, 2:56am UTC](https://boards.straightdope.com/t/javascript-problem/186490/4 "2003-07-06T02:56:56Z")

</div>

Many (perhaps even most) JS errors are caused by an error on the site itself, and have nothing to do with the user.

---

<div class="post-metadata">

### Author: ![Q.E.D](https://avatars.discourse-cdn.com/v4/letter/q/51bf81/32.png) [@Q.E.D](https://boards.straightdope.com/u/Q.E.D)
#### Post date: [July 6, 2003, 3:05am UTC](https://boards.straightdope.com/t/javascript-problem/186490/5 "2003-07-06T03:05:54Z")

</div>

> [@](#):
>
> \*Originally posted by Hauky \*  
> \*\*Many (perhaps even most) JS errors are caused by an error on the site itself, and have nothing to do with the user. \*\*

But not in this case. I visited the site linked in the OP and encountered no errors.

Have you downloaded and installed all the latest patches for your version of IE? If not, that’s the first thing I would do.

---

<div class="post-metadata">

### Author: ![benson](https://avatars.discourse-cdn.com/v4/letter/b/ea5d25/32.png) [@benson](https://boards.straightdope.com/u/benson)
#### Post date: [July 6, 2003, 3:27am UTC](https://boards.straightdope.com/t/javascript-problem/186490/6 "2003-07-06T03:27:58Z")

</div>

> [@](#):
>
> \*Originally posted by Q.E.D. \*  
> \*\*Have you downloaded and installed all the latest patches for your version of IE? If not, that’s the first thing I would do. \*\*

Yes, I have the latest patch.

---

<div class="post-metadata">

### Author: ![Duckster](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/duckster/32/1244_2.png) [@Duckster](https://boards.straightdope.com/u/Duckster)
#### Post date: [July 6, 2003, 8:00am UTC](https://boards.straightdope.com/t/javascript-problem/186490/7 "2003-07-06T08:00:47Z")

</div>

Have you turned off the switch in IE to report all errors? I think not.

---

<div class="post-metadata">

### Author: ![Urban\_Ranger](https://avatars.discourse-cdn.com/v4/letter/u/e9c0ed/32.png) [@Urban\_Ranger](https://boards.straightdope.com/u/Urban_Ranger)
#### Post date: [July 6, 2003, 8:02am UTC](https://boards.straightdope.com/t/javascript-problem/186490/8 "2003-07-06T08:02:10Z")

</div>

Use a better browser!

---

<div class="post-metadata">

### Author: ![benson](https://avatars.discourse-cdn.com/v4/letter/b/ea5d25/32.png) [@benson](https://boards.straightdope.com/u/benson)
#### Post date: [July 6, 2003, 1:33pm UTC](https://boards.straightdope.com/t/javascript-problem/186490/9 "2003-07-06T13:33:44Z")

</div>

> [@](#):
>
> \*Originally posted by Duckster \*  
> \*\*Have you turned off the switch in IE to report all errors? I think not. \*\*

Yes I have.

---

<div class="post-metadata">

### Author: ![urban1a](https://avatars.discourse-cdn.com/v4/letter/u/e47c2d/32.png) [@urban1a](https://boards.straightdope.com/u/urban1a)
#### Post date: [July 6, 2003, 5:25pm UTC](https://boards.straightdope.com/t/javascript-problem/186490/10 "2003-07-06T17:25:18Z")

</div>

I had no problem with the linked site but I do have trouble with others.

When MS came out with that crippled version of Java VM with XP SP1, I downloaded the real version from Sun. This works in most cases, but there are some sites (Yahoo Chat, for one) which ONLY works with the MS version (I can’t imagine why).

You could try switching to the Sun version, but note that you will continue to be bugged by Windows Update that you need to upgrade your VM. DON’T.

Bob
