Results 1 to 2 of 2
  1. #1

    Done, but with errors on the page

    I know it is a javascript error, but I do not know what's wrong with my code. Can anyone enlighten me?

    Here is my javascript code:

    <script language="JavaScript" src="">
    <meta http-equiv="Content-Type" content="text/html;">
    <!-- Fireworks MX Dreamweaver MX target. Created Sun Jan 09 15:06:39 GMT+0800 (Malay Peninsula Standard Time) 2005-->
    <script language="JavaScript">

    I got this error:

    Line: 3
    Char: 1
    Error: Syntax error
    Code: 0

  2. #2
    Administrator Dave's Avatar
    Join Date
    Sep 2004
    Te Awamutu, New Zealand
    Blog Entries
    Sorry about the delayed reply.

    The first error is that your first javascript tag comes before the <html> tag. The following code needs to be moved so it comes between the <head> and </head> tags:
    <script language="JavaScript" src="">
    However there's another problem. This code is designed to reference an external javascript file (defined by src=""). doesn't look like a valid javascript file. What exactly are you trying to do here? Where did this code come from?
    Dave Owen


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Subscribe to us on YouTube