473,395 Members | 1,495 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Javascript error in IE

347 100+
I cant figure our why my site has pages that generate a Javascript error on a page but when the page is refreshed the error dissapears

www.yaketyyak.co.uk

any of the individual persons pages on the site generate this error but i cant figure out why

Can anyone help????
Nov 19 '08 #1
4 1595
Dormilich
8,658 Expert Mod 8TB
what is the error actually (I don't have IE, so I can't tell)?

though not IE related, but "../deluxe-menu.files/dmenu.js" is not a javascript file.
all ; in the conditional comment JS are missing.

regards
Nov 19 '08 #2
colinod
347 100+
Hi it just says syntax error on line 2 character 1 code 0

hope that helps tried putting the missing ; in the statement and that did not help
Nov 19 '08 #3
colinod
347 100+
Hi thatnks for your help, making me look at the javascript line helped it should not have pointed to ../deluxe-menu.files should have just been deluxe-menu.files

that has cured the problem

Thanks again
Nov 19 '08 #4
Dormilich
8,658 Expert Mod 8TB
got it through Firefox' "Error Panel" (or whatever it is called in english...)

tried putting the missing ; in the statement and that did not help
it's generally considered "good coding practice" to finish each command with a ;. other programming languages will throw an error if the closing semi-colon is missing. btw. enclosing single line code blocks in { } is not necessary, but it can improve readability.
Nov 19 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: chrisdude911 | last post by:
how do i add video into a javascript web page with my own custom buttons?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.