<script src="/train/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript">
if(typeof jQuery!='undefined'){
alert("jQuery library is loaded!");
} else{
alert("jQuery library is not found");
}
</script>
转载于:https://www.cnblogs.com/JimCalark/p/6864625.html