| View previous topic :: View next topic |
| Author |
Message |
mgm Site Admin

Joined: 13 Jul 2002 Posts: 304 Location: Salt Lake City, UT
|
Posted: Sun Aug 25, 2002 3:10 am Post subject: Hints: Turning on Error Messages |
|
|
We often have questions like this in our forum: | Quote: | | I wrote the following script and nothing at all happens when I view it in a browser. |
In cases like this, if nothing is really happening at all, JavaScript might be turned off in the browser. But more likely, your browser is simply not configured to display error messages. When you're debugging a script, be sure you turn on error messages so you'll have all the information you can get about your script's problems.
Here's how to enable error messages in Internet Explorer:- From the menu, select Tools | Internet Options.
- Select the Advanced tab at the top of the dialog.
- Uncheck the Disable script debugging option.
- Check the Display a notification about every script error option.
- Click OK to save the settings.
You might find these error messages annoying (and surprisingly common) when visiting other people's sites. That's why I keep the errors disabled. When they're disabled, you'll see a tiny red ! icon in the IE status bar when an error happens - double-click on this icon to display the error message.
In Netscape, errors are displayed on the JavaScript Console. You might need to view the console to see them. Type javascript: into the address field in most versions of Netscape to view the console. If this doesn't work in your version, try selecting Tasks | Tools | JavaScript Console from the menu. _________________ Michael Moncur
Owner and Moderator, The JavaScript Workshop
Read the guidelines before posting: http://www.jsworkshop.com/posting.html |
|
| Back to top |
|
 |
zachariah Member

Joined: 07 Sep 2002 Posts: 99 Location: Earth
|
Posted: Sat May 15, 2004 8:47 pm Post subject: Re: Hints: Turning on Error Messages |
|
|
| mgm wrote: | | Type javascript: into the address field | Neat trick, that. Works in Mozilla (which Netscape really is just a re-branded version of), too. _________________ Firefox • Thunderbird |
|
| Back to top |
|
 |
phil karras Senior Member

Joined: 15 Jul 2002 Posts: 1776 Location: MD
|
|
| Back to top |
|
 |
sohnee Senior Member

Joined: 17 Jul 2002 Posts: 2077 Location: UK
|
Posted: Fri Nov 11, 2011 12:20 pm Post subject: |
|
|
I use Firebug http://getfirebug.com/
There are now (more or less) equivalents in all browsers now.
IE developer tools
Opera Dragonfly (Built in)
WebKit (Google Chrome / Safari) developer tools / inspector (Built in)
Interestingly, the contributions Google make to the tools for Chrome are contributed back to WebKit, so they will appear in Safari over time. _________________ I also work on... Steve Fenton's Blog and contribute to The Enhance PHP Unit Testing Framework |
|
| Back to top |
|
 |
MiguelZalaquett New member

Joined: 27 Feb 2013 Posts: 7
|
Posted: Wed Feb 27, 2013 1:24 am Post subject: |
|
|
| SolAr-powered be all due on the way toward suggestion of, most wanted almost stellar wafers modify Spartan doggedness all the rage electrical thrust, AP 26003BA.OO.D088CR.01 energy in addition above come to pass in reusable titanium lithium-ion rechargeable succession, Re-issued not later than the energy as of the battery through the built-in route generates a thud buzzer to the twist as well as generates a appealing resolution stepper motor, via the rescue of electrical Cartier W200728G Grand concerning kinetic energy, the apparatus to twirl and passion the pioneering to return the era, the foggy following a full charge may possibly series round 40-180 living, journey time faithful, rechargeable battery survival of 10 years. |
|
| Back to top |
|
 |
lanyufeng New member

Joined: 25 Apr 2013 Posts: 3
|
|
| Back to top |
|
 |
dgtyry Member

Joined: 21 May 2013 Posts: 58 Location: China
|
Posted: Wed May 22, 2013 12:02 am Post subject: To live |
|
|
| To live in a Dofus Kamas world without you is more painful Dofus Kamas than any punishment. do you know that no one Dofus Kamas can replace you in my heart? |
|
| Back to top |
|
 |
dgtyry Member

Joined: 21 May 2013 Posts: 58 Location: China
|
Posted: Wed May 22, 2013 12:08 am Post subject: One is always |
|
|
| One is always Dragonica Gold on a strange road, watching strange scenery and listening to strange dragon nest gold music. Then one day, you will find that the things dragonnest gold you try hard to forget are already gone. |
|
| Back to top |
|
 |
mmors New member

Joined: 24 May 2013 Posts: 1
|
|
| Back to top |
|
 |
|