Mitchell, I don't know of any Firebug tutorials offhand, I would just Google it and see what turns up.

-- Josh


----- Original Message ----- From: "Mitchell Waite" <[EMAIL PROTECTED]>
To: <jquery-en@googlegroups.com>
Sent: Thursday, July 26, 2007 2:11 PM
Subject: [jQuery] Re: Are there any particular ways to debug jQuery code?



THANK YOU that is super amazing. That simple icon I never even noticed. I
love the way it shows you exactly where you messed up.
I know the answer to this but I got to ask - are there any firebug tutorials
around?

-----Original Message-----
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh Nathanson
Sent: Thursday, July 26, 2007 1:30 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Are there any particular ways to debug jQuery code?


Mitchell - if an error occurs in a script, you will see a red "x" in the
lower right corner of the web browser.  Click that to open the Firebug
console.  In the console tab you'll see the error.  Instead of throwing an
alert like IE6 does, it logs errors into the console.

If your script is clean (no errors), you'll see a green "check" in the lower

right corner.

Firebug is an amazing program - once you get used to it, it will be
indispensable for you.  Showing errors is just one of the many helpful
things it can do. It can also show you every script and image that makes up

the currently viewed page, and how long they took to download (the "Net"
tab).

-- Josh



----- Original Message ----- From: "Mitchell Waite" <[EMAIL PROTECTED]>
To: <jquery-en@googlegroups.com>
Sent: Thursday, July 26, 2007 1:13 PM
Subject: [jQuery] Re: Are there any particular ways to debug jQuery code?



I do have it and I have run it but I don't see where it can tell me what I
am doing wrong.

-----Original Message-----
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Priest, James (NIH/NIEHS) [C]
Sent: Thursday, July 26, 2007 10:49 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Are there any particular ways to debug jQuery code?


-----Original Message-----
From: Mitchell Waite [mailto:[EMAIL PROTECTED]

$("#nest").click(function() {
  alert("got it");
  $("#nest").fade("slow");

I still haven't picked up my jQuery book again - this weekend!

But couldn't your write this like:

  alert("got it").fade("slow");

Does the fade work if you remove the alert?

I just don't know how to systematically track this down.

Do you have the Firebug plugin for Firefox?
http://www.getfirebug.com/

Jim






Reply via email to