Sorry for the copy/paste nonsense... The first sentence should read "We need to load the channel API javascript asynchronously ".
By the way, here's a page desbribing problems with script.onload: http://unixpapa.com/js/dyna.html /H On 6 Dec, 13:09, Henric Persson <[email protected]> wrote: > We need to load the javascript to load the channel API asynchronous. > Is there a way to know when the script has been downloaded and > available? I've looked into script.onload and > script.onreadystatechanged but it doesn't seem to be reliable enough. > The best thing would be if there was a callback method from > channel.js. > > This is similar to what I want to do: > > var script= document.createElement('script'); > script.src = "/_ah/channel/jsapi"; > document.getElementsByTagName('HEAD')[0].appendChild(script); > script.onload = proceedWithSomethingElse; > > But this only works in decent browsers. -- You received this message because you are subscribed to the Google Groups "Google App Engine" 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-appengine?hl=en.
