Hi, I want to create a little sample code to ask for an issue that I
have with google maps. Unfortunately while I was preparing a simple
example of the problem, I faced another problem. I can't include the
google maps library in playground so the example always fails. What I
tried is this
var lib = document.createElement('script');
lib.type ='text/javascript';
lib.src = "http://maps.google.com/maps/api/js?sensor=false&language=en"
document.getElementsByTagName('body')[0].appendChild(lib);
I even put it in the button event listener. Unfortunately I always get
the message:
"Failed to execute 'write' on 'Document': It isn't possible to write
into a document from an asynchronously-loaded external script unless it
is explicitly opened."
I noticed that I can't even transfer the example for the maps from the
demobrowser to the playground without it breaking. In this case I get
"Reference Error: google is not defined"
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel