Hi all,
I get an script error warning from IE and am not sure how to debug. I've got
3 external js file which i linked in my <head>
The error warning msg is:
"Problems with this webpage might prevent it from being displayed properly
or functioning properly.
Line: 18
Char: 16
Error: Syntax Error
Code: 0
URL: http://localhost/reps.php"
I looked at line 18 of my php page but there is no JS code there and i
suspect this a js issue.
Anyone know how i can find out where is this line 18 thats causing problems
?
Many thanks
T 6 1675
On Wed, 29 Nov 2006 21:05:01 +0000, toffee wrote:
Hi all,
I get an script error warning from IE and am not sure how to debug. I've
got 3 external js file which i linked in my <head>
The error warning msg is:
"Problems with this webpage might prevent it from being displayed
properly or functioning properly.
Line: 18
Char: 16
Error: Syntax Error
Code: 0
URL: http://localhost/reps.php"
I looked at line 18 of my php page but there is no JS code there and i
suspect this a js issue.
Anyone know how i can find out where is this line 18 thats causing
problems
The script debugger in IE is referring to the 18th line of javascript code
downloaded into the browser, ignoring all other languages and html... it's
completely useless.
You can download the Windows script debugger and it will actually let you
find the offending line of code.
Ivan Marsh wrote on 29 nov 2006 in comp.lang.javascript :
On Wed, 29 Nov 2006 21:05:01 +0000, toffee wrote:
>Hi all,
I get an script error warning from IE and am not sure how to debug. I've got 3 external js file which i linked in my <head>
The error warning msg is: "Problems with this webpage might prevent it from being displayed properly or functioning properly. Line: 18 Char: 16 Error: Syntax Error Code: 0 URL: http://localhost/reps.php"
I looked at line 18 of my php page but there is no JS code there and i suspect this a js issue. Anyone know how i can find out where is this line 18 thats causing problems
The script debugger in IE is referring to the 18th line of javascript
code downloaded into the browser, ignoring all other languages and
html... it's completely useless.
Not at all.
If it is a javascript error, see the viewsouced page.
You can download the Windows script debugger and it will actually let
you find the offending line of code.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
On Wed, 29 Nov 2006 22:06:23 +0000, Evertjan. wrote:
Ivan Marsh wrote on 29 nov 2006 in comp.lang.javascript:
>On Wed, 29 Nov 2006 21:05:01 +0000, toffee wrote:
>>Hi all,
I get an script error warning from IE and am not sure how to debug. I've got 3 external js file which i linked in my <head>
The error warning msg is: "Problems with this webpage might prevent it from being displayed properly or functioning properly. Line: 18 Char: 16 Error: Syntax Error Code: 0 URL: http://localhost/reps.php"
I looked at line 18 of my php page but there is no JS code there and i suspect this a js issue. Anyone know how i can find out where is this line 18 thats causing problems
The script debugger in IE is referring to the 18th line of javascript code downloaded into the browser, ignoring all other languages and html... it's completely useless.
Not at all.
If it is a javascript error, see the viewsouced page.
Which will show you line 18 of the source page, not the 18th line of
javascript.
I did try view source but line 18 was html
Ivan - you were spot on; i downloaded MS script debugger; and after i loaded
the page; it told me which of the external scripts and what line was causing
the offence.
thanks all
"Ivan Marsh" <an*****@you.nowwrote in message
news:pa****************************@you.now...
On Wed, 29 Nov 2006 22:06:23 +0000, Evertjan. wrote:
Ivan Marsh wrote on 29 nov 2006 in comp.lang.javascript:
On Wed, 29 Nov 2006 21:05:01 +0000, toffee wrote:
Hi all,
I get an script error warning from IE and am not sure how to debug. I've got 3 external js file which i linked in my <head>
The error warning msg is: "Problems with this webpage might prevent it from being displayed properly or functioning properly. Line: 18 Char: 16 Error: Syntax Error Code: 0 URL: http://localhost/reps.php"
I looked at line 18 of my php page but there is no JS code there and i suspect this a js issue. Anyone know how i can find out where is this line 18 thats causing problems
The script debugger in IE is referring to the 18th line of javascript
code downloaded into the browser, ignoring all other languages and
html... it's completely useless.
Not at all.
If it is a javascript error, see the viewsouced page.
Which will show you line 18 of the source page, not the 18th line of
javascript.
Ivan Marsh said the following on 11/29/2006 5:32 PM:
On Wed, 29 Nov 2006 22:06:23 +0000, Evertjan. wrote:
>Ivan Marsh wrote on 29 nov 2006 in comp.lang.javascript:
>>On Wed, 29 Nov 2006 21:05:01 +0000, toffee wrote:
Hi all,
I get an script error warning from IE and am not sure how to debug. I've got 3 external js file which i linked in my <head>
The error warning msg is: "Problems with this webpage might prevent it from being displayed properly or functioning properly. Line: 18 Char: 16 Error: Syntax Error Code: 0 URL: http://localhost/reps.php"
I looked at line 18 of my php page but there is no JS code there and i suspect this a js issue. Anyone know how i can find out where is this line 18 thats causing problems The script debugger in IE is referring to the 18th line of javascript code downloaded into the browser, ignoring all other languages and html... it's completely useless.
Not at all.
If it is a javascript error, see the viewsouced page.
Which will show you line 18 of the source page, not the 18th line of
javascript.
And IE - typically - counts from the DTD tag to the offending line of
code. It counts external file lines as if it were included in the page
source itself instead of as an external file. Take the contents of the
three .js files, put them in the code, save the file locally, test it,
and debug it.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Answer:It destroys the order of the conversation
Question: Why?
Answer: Top-Posting.
Question: Whats the most annoying thing on Usenet?
Randy Webb a écrit :
Ivan Marsh said the following on 11/29/2006 5:32 PM:
>On Wed, 29 Nov 2006 22:06:23 +0000, Evertjan. wrote:
>>Ivan Marsh wrote on 29 nov 2006 in comp.lang.javascript:
On Wed, 29 Nov 2006 21:05:01 +0000, toffee wrote:
Hi all, > I get an script error warning from IE and am not sure how to debug. I've got 3 external js file which i linked in my <head> > The error warning msg is: "Problems with this webpage might prevent it from being displayed properly or functioning properly. Line: 18 Char: 16 Error: Syntax Error Code: 0 URL: http://localhost/reps.php" > I looked at line 18 of my php page but there is no JS code there and i suspect this a js issue. Anyone know how i can find out where is this line 18 thats causing problems The script debugger in IE is referring to the 18th line of javascript code downloaded into the browser, ignoring all other languages and html... it's completely useless. Not at all.
If it is a javascript error, see the viewsouced page.
Which will show you line 18 of the source page, not the 18th line of javascript.
And IE - typically - counts from the DTD tag to the offending line of
code. It counts external file lines as if it were included in the page
source itself instead of as an external file. Take the contents of the
three .js files, put them in the code, save the file locally, test it,
and debug it.
Hi,
You can also try Companion.JS
( http://www.ieforge.com/CompanionJS/HomePage) which gives you the sam
info as the script debugger but is integrated into IE.
--
Regards / Cordialement
====================
Jean-Fabrice Rabaute
CORE SERVICES :: Software/Web development & Consulting services http://www.debugbar.com : The most advanced WEB development tool for
Internet Explorer http://www.core-services.fr - {Enjoy the future today} This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Davy |
last post by:
Hi all,
I use VC and gcc/gdb to compile and debug C/C++ files. But I found some
of the debug version of the compiled files are too large to be run in a
small RAM. Can I compile C/C++ Debug...
|
by: emma middlebrook |
last post by:
I have a question regarding asserting ... here's some code:
string GetAssertMessage()
{
... prepare a message string and return it...
}
void SomeMethod()
{
...
|
by: Srinivasa Rao |
last post by:
I have read in one article that when we compile the application in release
mode, all the debug classes and properties will be automatically removed from
the code. I tried to implement this thing by...
|
by: dee |
last post by:
Hi
I'm about to upload my site and I have switched to release version. Is that
enough or do I still need to disable
<compilation defaultLanguage="vb" debug="true" />
the debug="true" in the .pdb...
|
by: swartzbill2000 |
last post by:
Hello,
I have a VB 2005 Express project with a TraceListener-derived class to
route Debug.Print output to a log file. It works fine for Debug builds.
What is the correct combination of changes to...
| |
by: pauldepstein |
last post by:
To help me debug, I am writing a lot of information into a stream which
I call debug.
However, because of the large amount of time taken to print this
information, I only want this printed while...
|
by: Andrew Rowley |
last post by:
I am having trouble getting debug and release builds to work properly
with project references using C++ .NET and Visual Studio 2003.
I created a test solution, with a basic Windows form C++...
|
by: BA |
last post by:
I posted on this once before and could not get a solution, I am hoping
someone can help. I have a very strange code debug behavior that I cannot
make heads or tails of:
I have c# code being...
|
by: gfergo |
last post by:
Good Morning,
I seem to be having a problem. I thought I could display detailed
debugging information (including file name and line number) on a page
using two different methods:
1.)...
|
by: rorni |
last post by:
Hi,
I'm porting code from Windows to HP-UX 11, compiling with g++.
I'm getting a compilation error on the system's debug.h include file, which is included very indirectly through a series of...
|
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,...
| |
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,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |