Here is what I came with:
http://www.einberg-volleyball.de/maps/test/json2.html

Although I am quite happy with it, there are still a couple of issues:
1) I didn't check what happens, when the user hits one of the links
again before the response arrives
2) in case of an error 500 I have to wait until the timeout occurs,
even though the response arrives almost immediately. Any ideas how to
catch that earlier?


@marcelo: We both made a mistake when thinking about the error 500.
Since there is never a value assigned to myData, there is no need to
wrap in a try...catch block.
Happy you answered that off topic question anyway. Looking at the
large response it seems to me that there are some more people
interested :-)

@bratcliff: I guess when you want to support only than IE and FF, you
could use the suggested event models. But what about users with other
browsers?

@Black Fog: This is an off topic answers (sorry couldn't resist). In
my case neither a ajax request won't work (since it is cross domain)
nor a proxy script is what I was looking for. But I certainly agree,
that might be also a possible solution, if you can run such a script
on your server.

Thank you all for helping!!

On Sep 24, 4:16 pm, bratliff <[EMAIL PROTECTED]> wrote:
> On Sep 24, 1:39 pm, Lance Dyas <[EMAIL PROTECTED]> wrote:
>
> >  In other words it would be nice if people had a full cross platform
> > class which made these
> > things look the same from the outside ;-)
>
> OK - I agree but what incentive exists to do it ?  FWIIW, it really
> ought to live in an IFRAME to limit damage caused by a malicious
> script.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to