开发者

JavaScript - Why does my asrnchronous download not download asynchronously?

开发者 https://www.devze.com 2022-12-30 00:09 出处:网络
I\'m using the following Google Maps autload (asynchronous) to load asynchronous both Google Maps v3 and JQuery, like so:

I'm using the following Google Maps autload (asynchronous) to load asynchronous both Google Maps v3 and JQuery, like so:

<script type="text/javascript" src="http://www.google.com/jsapi?autoload={ "modules":[ {name:"maps",version:3,other_params:"sensor=false"},{"name":"jquery","version":"1.4.2"},{"name":"jqueryui","version":"1.8.1"} ]}"></script>

However, looking at the network traffic, it appears that it is not down开发者_如何学Pythonloading asynchronously.

alt text http://img339.imageshack.us/img339/5986/jquerydelaying.png

Question: Does anyone understand why the %7Bcommon (google-maps) file is being delayed from download until the jquery-ui.min file completes download first?

0

精彩评论

暂无评论...
验证码 换一张
取 消