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 google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.