Re: How do I validate / debug a javascript?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: How do I validate / debug a javascript?

From: alu <none@none.com>
Date: Thu Aug 04 2005 - 00:57:40 CEST

"Jedi Fans" wrote
> Janwillem Borleffs wrote:
> > Double-click on the yellow warning sign in the left corner of your
browser
> > and you will see a popup containing the last line number on which errors
> > where found.
> >
> > Start at this line to scan for javascript delarations and you will
notice
> > the following:
> >
> > onmouseout="window.status = return true;"
> >
> > When you replace this throughout the file with the following, it will
work
> > fine:
> >
> > onmouseout="window.status = ''; return true;"

> mozilla firefox's javascript console is far more advanced, also consider
> getting the javascript debugger extension from venkman for firefox

Also, in IE/Win, under Tools/Internet Options/Advanced
uncheck - Disable script debugging
check - Display a notification about every script error

-alu
Received on Tue Oct 18 03:05:05 2005