..but watch out, in case you have a code depending on A.js you cannot
run it directly after loadJS("A.js") - it will not work, since
loadJS() is always asynchronously loaded, meaning you code is executed
whilst A.js has not been loaded yet, you have to work with callbacks
to proceed executing AFTER A.js has been loaded

this is a little bit tricky, since SCRIPT tag does not allow you cross-
browser to hook in to know if code is loaded, but there some
strategies for it we can discuss if your problem really relates to the
async control flow..


On 13 Aug., 12:43, cokol <[email protected]> wrote:
> cross domain policy does not apply for some certain resources like
> javascript or images, so this is not the problem, you have to append
> the script element to the HEAD element, not to the BODY
>
> On 13 Aug., 11:56, Vincent COROLLEUR <[email protected]> wrote:
>
>
>
> > Hello,
>
> > I still have the problem. I tried to load other scripts and it works.
>
> > There is a mechanism from JS maps API that i may not understand or
> > know.
>
> > I should not be the only guy trying this...
>
> > Regards,
>
> > Vincent

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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-web-toolkit?hl=en.

Reply via email to