0

ロードに問題があります

https://code.jquery.com/mobile/1.3.0-rc.1/jquery.mobile-1.3.0-rc.1.min.js(httpS

しかし、ダウンロードするのに問題はありません

http://code.jquery.com/mobile/1.3.0-rc.1/jquery.mobile-1.3.0-rc.1.min.js(http

結果は次のとおりです。ロードされない、firebugは https://code.jquery.com/mobile/1.3.0-rc.1/jquery.mobile-1.3.0-rc.1.min.jsと言います Status Aborted

http(httpsではなく)を使用すると、問題ないように見えます200 OK

なぜそれが起こっているのですか、そしてそれを修正する方法は?

彼らはhttpSの使用を許可していませんか?

4

1 に答える 1

1

jQuery.comでホストされているライブラリは、https://をサポートしていないCDNによって配信されます。そのため、エラーが発生します。

本当にjQuery(モバイル)をhttps://で配信したい場合は、GoogleまたはMicrosoftCDNを利用できます。残念ながら、GoogleはjQuery Mobileライブラリをホストしておらず、Microsoftは1.3.0RCバージョンをホストしていません。

Microsoft SDN(httpsからアクセス可能)でホストされているjQuery mobileからの最新リリースは1.2.0です:

https://ajax.aspnetcdn.com/ajax/jquery.mobile/1.2.0/jquery.mobile.structure-1.2.0.css https://ajax.aspnetcdn.com/ajax/jquery.mobile/1.2.0 /jquery.mobile.structure-1.2.0.min.css https://ajax.aspnetcdn.com/ajax/jquery.mobile/1.2.0/jquery.mobile.theme-1.2.0.css https:// ajax .aspnetcdn.com / ajax / jquery.mobile / 1.2.0 /jquery.mobile.theme-1.2.0.min.csshttps://ajax.aspnetcdn.com/ajax/jquery.mobile/1.2.0/jquery 。 mobile-1.2.0.csshttps ://ajax.aspnetcdn.com/ajax/jquery.mobile/1.2.0/jquery.mobile-1.2.0.jshttps : //ajax.aspnetcdn.com/ajax/jquery 。 mobile / 1.2.0 / jquery.mobile-1.2.0.min.css https://ajax.aspnetcdn.com/ajax/jquery.mobile/1.2.0/jquery.mobile-1.2.0.min.js https: //ajax.aspnetcdn.com/ajax/jquery.mobile/1.2.0/images/ajax-loader.gif https://ajax.aspnetcdn.com/ajax/jquery.mobile/1.2.0/images/ajax-loader.png https://ajax.aspnetcdn.com/ajax/jquery.mobile/1.2.0/images/icons -18-black.png https://ajax.aspnetcdn.com/ajax/jquery.mobile/1.2.0/images/icons-18-white.png https://ajax.aspnetcdn.com/ajax/jquery.mobile /1.2.0/images/icons-36-black.png https://ajax.aspnetcdn.com/ajax/jquery.mobile/1.2.0/images/icons-36-white.png

于 2013-02-18T09:36:33.807 に答える