Hi Bob,

It has certainly nothing to do with loadJSONDoc but that's not a
syntax problem, also with your correction (but from my server log I
had the correct querystring also with the previous syntax) IE 6 does
not work.
Also not working:

function timestamp() {
    return new Date().getTime();
}
d = loadJSONDoc('http://192.168.9.1:8081/da/combo.py',
{'combocontents':tipo,'nocache':timestamp()});

and

d = loadJSONDoc('http://192.168.9.1:8081/da/combo.py'+'?
nocache='+timestamp()+'&combocontents='+tipo);

In FF is both of them are ok; Firebug gives me the correct parameters
and response from the server.

But if I code 'nocache='+'dummy'  or I send only the 'combocontents'
parameter then IE 6 works.

The same behaviour I seem to have with dojo.io.bind



On 6 Mar, 10:04, "Bob Ippolito" <[EMAIL PROTECTED]> wrote:
> 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 mochikit@googlegroups.com
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