$(function() { }); 讲解
摘要:$(function(){/*...*/});是$(document).ready(function(){/*...*/})的简写形式,是在DOM加载完成后执行的回调函数,并且只会执行一次。 $( document ).ready(function() { console.log( "ready!"
阅读全文
posted @ 2019-05-09 15:40
posted @ 2019-05-09 15:40
posted @ 2019-05-08 17:40