Hi Guys
We shipped our software out to a customer that contains a piece of
javascript that looks like this:
var date = new Date();
var time = date.toLocaleTimeString();
...Which works on all the QA systems and our dev machines, but doesn't
seem to work on one of the customers testing machines, they get the
following message:
"Object does not support property or method", in a `do you wish to
debug this script?` dialog. If they click yes; Microsoft Script
Debugger is launched and it complains that the second line with the
`toLocaleTimeString` method is the culprit.
They are indeed running IE 6 (v6.0.2800.1106) on a `Win2K SP4 server
box` (which in fairness we havent tested it with) but I cant understand
if they are running the same version of IE as us, why the javascript
wont work?! Should it matter they are using Win2k and we are using
Xp/2K3??? I thought the jscript library was part of IE itself?
If anybody has run into this problem, or knows why this is happening
please please please could you help me out?
Many Thanks
Tom Medhurst