On 3/6/07, Bob Ippolito <[EMAIL PROTECTED]> wrote:
>
> That has nothing to do with loadJSONDoc. It's your syntax.
>
> Try this:
> (new Date()).getTime()

If that were needed there would be a bug in the js-implementation. The
"new" operator has precedence over member access (the dot ".")
according to Ecma.

This snippet works fine in IE 6, IE 7 and FF 2.0:

<html>
<head>
</head>
<body>

<script>
document.write(new Date().getTime());
</script>

</body>
</html>


Arnar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" 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/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to