Home >Web Front-end >JS Tutorial >JQuery online reference and test whether the reference is successful_jquery

JQuery online reference and test whether the reference is successful_jquery

WBOY
WBOYOriginal
2016-05-16 16:43:211380browse
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script> <script src="http://code.jquery.com/jquery-latest.js"></script> <script type="text/javascript"> // 测试引用是否成功 $(document).ready(function(e) { alert('test!'); }); </script> Google 的 CDN <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js"></script> Microsoft 的 CDN <script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.min.js"></script>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn