jquery的引入方式
本地
<script src="jquery-1.10.2.min.js"></script>
cdn
<script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
dom加载完成后再执行js的方法
$(document).ready(function(){})
或者
$(function(){}
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!