Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error message question

Status
Not open for further replies.

RenoWV

Technical User
Mar 16, 2002
156
US
I use an html editor called FirstPage2000 (not to be confused with MS FrontPage). When a javascript has an error, it will put up a message that will refer to a line number and character number. Unfortunately, when I check the line# / character#, they do not seem to correspond to anything meaningful (as far as I can tell).

So here's the question:

Is there a js editor that a person could use that would provide a message pointing to a scripting error, and then consistently and correctly show the exact line # and character # for checking that error? Or is that "number data" something which will necessarily change from one editor to the next?
 
The line number probably represents the line number **IF** you included all CSS and JS files inline.

Try creating a test page, containing all of your JS files and CSS files pasted as text inline. And test again. The error message should then correspond to the exact line in your HTML webpage.

I use TextPad and HomeSite for debugging since they show line-numbers...

Pete.


Lotus Notes Web Developer / Aptrix (LWWCM) Consultant
w: e: Pete.Raleigh(at)lclimited.co.uk
 
"The line number probably represents the line number **IF** you included all CSS and JS files inline."

Thanks WartookMan -- that may very well be the problem, since I very often do reference the scripts externally. I'll try your suggestion the next time to see if that points me to the right place...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top