Re: JavaScript Error - Why?

by "Frank Boumphrey" <bckman(at)ix.netcom.com>

 Date:  Wed, 12 Mar 2003 23:52:09 -0500
 To:  "Kathy Mazur" <farsidehereat4(at)hotmail.com>,
<hwg-techniques(at)hwg.org>
 References:  hotmail
  todo: View Thread, Original
Lines are remarkable unhelpful in Javascript sdebugging, so the problem may
not be here at all!

However for startes change this line to

<script type='text/javascript'>

which is now the correct way to write it.

To find out where 'line 8' is try putting in an 'obvious error' at the
beginning of you code  (I use an apostophe on a single line i.e. ')

And see what line the browser thinks it is on.

HYH

Frank
----- Original Message -----
From: "Kathy Mazur" <farsidehereat4(at)hotmail.com>
To: <hwg-techniques(at)hwg.org>
Sent: Wednesday, March 12, 2003 9:49 PM
Subject: JavaScript Error - Why?


> I recently added the dynamic menu script from
> http://www.dynamicdrive.com/dynamicindex1/topnavbar.htm to
> http://joliet.lib.il.us/.  On occasion I get this Javascript error when
> using IE 6.0:
> Line: 8
> Error: Object Required
>
> What is causing the error?  The line of code at line 8 is:
> <script language="JavaScript">
> Would that cause this error?
>
> K. Mazur
>
> _________________________________________________________________
> STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.