If I remove the following line, it works as expected.

>         if (temp.firstChild.nodeValue.indexOf("-") >= 0)
> temp.className = "negative";

What wasn't expected is that the <td> cells filled by getQuotes using
the <span> tag are reported as empty even though I can see the numbers
in the web gadget.  Too weird :-(

The line above should have no affect on output, yet it apparently
causes the whole function to fail at that point and nothing is
reported.  How do others debug their javascript code?  It takes way
too long to figure out what's going on.

-- 
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/Google-Gadgets-API?hl=en.

Reply via email to