On Oct 20, 7:01 pm, Greg <[email protected]> wrote:
> Hello,
>
> So I'm debugging some javascript on a site I'm working on, in one part
> I get the current year with getFullYear(). The value seems to be
> coming out correct, but firebug keeps telling me that g.getFullYear is
> not a function in the console view. The only line I use getFullYear
> is:
>
> function getCurrentYear() {
> today = new Date();
> return today.getFullYear();
> }
>
> Any suggestions on what I'm missing?
Yes, the source line that includes the string "g.getFullYear()".
Also try Console > mini-menu options > Show stack trace.
Also try with only one tab open in Firefox.
jjb
The error message should be linked to the source line;
> I'm using Firefox 3.5.3 on Vista 64 Home. Any suggestions are welcome.
>
> Thank you for your time
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Firebug" 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/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---