I think it would help if you changed line 198

//From this - if(dateArray[2] == "") -
//To this
if(!dateArray[2])
{
mm = parseInt(dateArray[3],10)
mmm = eval("monthAbrv" + slctLng + "[" + mm + "]")
}

Kirk Cerny

On Sat, Dec 12, 2009 at 6:08 PM, Joe C <[email protected]> wrote:
> Kirk Cerny wrote:
>> JSLint is the BEST JavaScript debugger I have ever used.
>> It fixes even points out issues with code you thought was working.
>> http://www.jslint.com
>>
>> There is always the venkman JavaScript debugger
>> http://www.mozilla.org/projects/venkman/
>>
>> Kirk Cerny
>>
>
> Thanks for the mention of jslint.com my only problem now is my script
> fails under Firefox. My last major involvement with it was before
> Firefox was released & it worked perfectly on both Internet Explorer 4
> through 6 As well as Netscape Navigator.
>
> For some reason under Firefox the month is returned as either undefined
> or NaN.
>
> You can see it in action at the following URL
> http://www.v2joecr.com/javascripts/testdate-english.htm . I also finally
> installed Internet Explorer 7 on my Windows XP computer & it still works
> there.
>
> The version on the web doesn't have the issues that jslint found dealt
> with. It was one of my first projects running on JavaScript to. I had
> removed the ";" at the end of the lines as a way to try to reduce the
> byte size.
>
> _______________________________________________
>
> UPHPU mailing list
> [email protected]
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
>

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to