This is a discussion on "Please Help Fix This Error Message" within the JavaScript Forum section. This forum, and the thread "Please Help Fix This Error Message are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Please Help Fix This Error Message
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Please Help Fix This Error Message
Good Afternoon,
When the page below is loaded an error message appears, reading 'Java Script error Description: Unterminated string constant Source:http://www.harmonixconstruction.com/contact1.html Line 12' http://www.harmonixconstruction.com/contact1.html Can anybody tell me what to do to fix this? Many Thanks |
|
|
|
|||
|
Re: Please Help Fix This Error Message
You need to look through your JavaScript for areas where strings are declared, assigned or whatever for situation like: "mystr1 or 'mystr2 with no corisponding closing quote.
The code in /scroller/scroll.js looks a little suspect in the way the mix of double and single quotes have been used. I can also tell you that validating your page with the W3C validation tool results in 22 errors on this page. You shoul fix these. Other pages have similar problems. You are also using propriatory styling attributes. You should get rid of these and use standards compliant css. I should add that Firefox does not throw a JavaScript error so the error may being caused by something that only IE executes. Last edited by ukgeoff; Sep 26th, 2006 at 16:58. Reason: Added more info |
|
|||
|
Re: Please Help Fix This Error Message
Many Thanks Geoff,
I did test in Firefox and realised that the error was not happening, I will go and check the quotes as you suggest. I am not sure how I go about fixing the 22 errors that are identified by the W3C validation tool. Sorry to be a pain but could you offer any tips? Kind Regards Dan |
|
|||
|
Re: Please Help Fix This Error Message
You just have to work through them fixing what it tells you is wrong. HINT: Always fix in order as problems can be caused by a cascade effect. |
![]() |
| Tags |
| help, fix, error, message |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| error message of webmail | begeiste | PHP Forum | 2 | May 27th, 2008 19:39 |
| Keep getting error message Microsoft VBScript runtime error '800a01a8' | cpando1974 | Classic ASP | 2 | Aug 7th, 2007 12:00 |
| CDO.Message.1 error '80040220' | djanim8 | Classic ASP | 2 | Jan 12th, 2007 18:33 |
| Why error message in status bar? | Sofie | PHP Forum | 11 | May 13th, 2006 18:23 |
| error message cant get straight | monkboy12345 | PHP Forum | 1 | Apr 15th, 2005 21:34 |