View Single Post
Old 06-10-2009, 08:44 PM   #4 (permalink)
CrazeD
CrazeD's Avatar
 
Wizard Techie

Join Date: Feb 2006

Location: Maine

Posts: 3,690

CrazeD will become famous soon enough

Send a message via AIM to CrazeD Send a message via MSN to CrazeD
Default Re: Beginner Javascript help

Since I'm a nice guy, I will help you.

The reason you don't get any output is because the script encounters an error and it terminates the script. Javascript errors, by them self, are very ambiguous and sometimes hard to detect. Therefore, you really need to get some debug tools. I HIGHLY recommend the Firebug plugin for Firefox. It is an excellent tool for Javascript/AJAX developers. You can step through the code line-by-line, setup breakpoints, find errors, make on-the-fly changes...etc.

Your error is that you have mixed the case of your hoursWorked variable, as well as some others. Those aren't the only errors, but I'll let you try to figure the rest out.
__________________

Need website help? PM me!
CrazeD is offline