That has nothing to do with loadJSONDoc. It's your syntax.

Try this:
(new Date()).getTime()

-bob

On 3/6/07, carlo <[EMAIL PROTECTED]> wrote:
>
> Thanks for your reply. Unfortunately most of my problems involve IE 6.
>
> Recently I bumped into a new one that I would like to share:
>
> This works in IE 6 (apart from the famous cache problem..):
>
> d = loadJSONDoc("http://192.168.9.1:8081/da/combo.py";,
> {"combocontents":tipo});
> d.addCallback(FillCombo);
>
> This does not work in IE6
>
> d = loadJSONDoc('http://192.168.9.1:8081/da/combo.py',
> {'combocontents':tipo,'nocache':new Date().getTime()});
> d.addCallback(FillComboUtenti);
>
> but this seems again to work:
>
> d = loadJSONDoc('http://192.168.9.1:8081/da/combo.py',
> {'combocontents':tipo,'nocache':'test'});
> d.addCallback(FillComboUtenti);
>
> Everything works in Firefox.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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